SMTP Custom Email provider: "From" address not used

Hello !

I’m trying to setup a custom email provider through SMTP, with Gmail. The mails are successfully sent, but they use the email address of the “Username” instead of the “From” one… How can I fix this ? Thanks!

Hi @thomas.beznik,

Welcome back to Auth0 Community!

I am looking into this query and will get back to you soon.

1 Like

Hi @thomas.beznik ,

I tested SMTP Gmail provider smtp.gmail.com and could repeat the same. The email was sent from the email address in the “username” field, not the “From” field.

I believe this is the expected behavior as of the current design form SMTP Gmail provider.

Please feel free to raise a feature request on our community feedback page. Hope we can attract more votes to get this implemented soon.

If you need the email to be extracted from the “From” field, you may use such as smtp.mailtrap.io, for which the username is not email address though.

Please feel free to reach us if any other queries. Thanks!

1 Like