changed outlook link to outlook.live

This commit is contained in:
Matteo Manzinello 2019-05-24 18:26:34 +02:00
parent 6a67892595
commit bfae93f898
3 changed files with 3 additions and 3 deletions

2
dist/mailgo.js vendored
View File

@ -243,7 +243,7 @@ var actions = {
return window.open("https://mail.google.com/mail?extsrc=mailto&url=" + encodeURIComponent(mailtoHref), "_blank"); return window.open("https://mail.google.com/mail?extsrc=mailto&url=" + encodeURIComponent(mailtoHref), "_blank");
}, },
openOutlook: function openOutlook(mail, url) { openOutlook: function openOutlook(mail, url) {
return window.open("https://outlook.office.com/owa/?rru=compose&to=" + encodeURIComponent(mail) + url.search.replace(/^[$]/, "&"), "_blank"); return window.open("https://outlook.live.com/owa/?path=/mail/action/compose&to=" + encodeURIComponent(mail) + url.search.replace(/^[$]/, "&"), "_blank");
}, },
openDefault: function openDefault(encEmail) { openDefault: function openDefault(encEmail) {
return mailToEncoded(encEmail); return mailToEncoded(encEmail);

2
dist/mailgo.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -305,7 +305,7 @@ const actions = {
openOutlook: (mail, url) => openOutlook: (mail, url) =>
window.open( window.open(
"https://outlook.office.com/owa/?rru=compose&to=" + "https://outlook.live.com/owa/?path=/mail/action/compose&to=" +
encodeURIComponent(mail) + encodeURIComponent(mail) +
url.search.replace(/^[$]/, "&"), url.search.replace(/^[$]/, "&"),
"_blank" "_blank"