extensions icon indicating copy to clipboard operation
extensions copied to clipboard

[Firestore Trigger Email Extension] Specify sender name with Trigger Email

Open dylangarrett opened this issue 4 years ago • 2 comments

I can't find any documentation in relation to specifying the name of sender, alongside the from email address.

See attached screenshot for example. My domain is [email protected], and emails arrive with the name 'hello'. Ideally I'd like to specify the name as MyApp.

image

When I send test emails from my SMTP provider (SendGrid) the email appears as I would like, from MyApp.

Any assistance would be appreciated, thanks!

dylangarrett avatar Jan 13 '22 21:01 dylangarrett

Hi @dylangarrett,

Sorry to hear about your inconvenience. Could you tell me what is your Default FROM address option string in your extension setting, please? If you didn't you may try to use MyApp <[email protected]> format.

Please let me know if that helps.

posiek07 avatar Jan 17 '22 18:01 posiek07

Hey @posiek07

Thanks for the help! By setting the default value of the from address in the format provided, emails appear as expected.

It's worth noting that I tried specifying the from address as a top-level field in the document in the format MyApp <[email protected]> it did not appear to resolve the issue. Specifying it specifically as the default value works though.

dylangarrett avatar Jan 22 '22 19:01 dylangarrett