mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Merge pull request #1286 from rezaei92/master
Sending group email to all contact addresses
This commit is contained in:
commit
65d469f71a
5 changed files with 42 additions and 3 deletions
|
|
@ -1382,6 +1382,12 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
}
|
||||
});
|
||||
|
||||
let sToAddress = this.to();
|
||||
|
||||
if (/".*" <.*,.*>/g.test(sToAddress)) {
|
||||
sToAddress = sToAddress.match(/<.*>/g)[0].replace(/[<>]/g, '');
|
||||
}
|
||||
|
||||
const
|
||||
identity = this.currentIdentity(),
|
||||
params = {
|
||||
|
|
@ -1390,7 +1396,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
messageUid: this.draftUid(),
|
||||
saveFolder: sSaveFolder,
|
||||
from: this.from(),
|
||||
to: this.to(),
|
||||
to: sToAddress,
|
||||
cc: this.cc(),
|
||||
bcc: this.bcc(),
|
||||
replyTo: this.replyTo(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue