alykoshin / gmail-send

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

Sender Name not showing #15

Open ghost opened 5 years ago

ghost commented 5 years ago

When I send emails the sender name is not showing. It shows the "username" from username@gmail.com.

const send = require('gmail-send')({
  user: 'username@gmail.com',
  pass: 'password',
  to: email,
  // from: 'John Doe', no matter what I put here it doesn't do anything.
  subject: emailSubject,
  text:    emailContent,
})
Apexal commented 5 years ago

Try John Doe <username@gmail.com>

ghost commented 5 years ago

Try John Doe <username@gmail.com>

that didn't work but John Doe username@gmail.com worked strangely

gabimoncha commented 4 years ago

John Doe username@gmail.com worked for me also, but the profile picture is not showing and it says: "Gmail cannot verify if domain send this email and not a spam author"

John Doe <username@gmail.com> worked for me

softremake commented 4 years ago

It cannot work until this patch is accepted: https://github.com/alykoshin/gmail-send/pull/6

@alykoshin it's really a showstopper... Pls help!