alykoshin / gmail-send

Minimalistic module to send email using GMail
MIT License
89 stars 26 forks source link

options.form Not working #14

Open narraressan opened 5 years ago

narraressan commented 5 years ago

hi! I noticed that my code wasn't working as expected. For your reference, below is my code...

send({
    user: 'adean.ladia@gmail.com',
    pass: 'XXXXX-SECRET-XXXX',
    to: recipients,
    from: 'info.adean@gmail.com',
    subject: 'JOHN DOE TEST',
    html: '<p>Hello world!</p>'
}, (err, res) => {
    if (err) { console.log('Sending-Failed:', err) }
    if (res) { console.log('Sending-Response:', res) }
})

but when I receive the email at gmail, it does not show the value I set for config.from instead it uses the one in config.user.

any ideas what I did wrong or perhaps what I missed to consider?

thank you.

probert100 commented 4 years ago

I have the same issue. How was this resolved?

simon-hypnoledge commented 1 year ago

5 years and still the issue ... will it be resolve any day?