mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-27 10:21:11 +08:00
example push email using name not recipient
This commit is contained in:
parent
da24adb980
commit
6bd8a8adea
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function send() {
|
|||
|
||||
from: 'Kärbes 🐧 <andris@kreata.ee>',
|
||||
to: recipients
|
||||
.map((rcpt, i) => ({ name: 'Recipient #' + (i + 1), address: rcpt }))
|
||||
.map((rcpt, i) => ({ name: rcpt.split('@')[0], address: rcpt }))
|
||||
.concat('andris <andris.reinman@gmail.com>, andmekala <andmekala@hot.ee>'),
|
||||
cc: '"Juulius Orro" muna@gmail.com, kixgraft@gmail.com',
|
||||
subject: 'Test ööö message [' + Date.now() + ']',
|
||||
|
|
Loading…
Reference in a new issue