<@ULVA73B9P> Is there a way to specify sender name...
# ask-marvin
g
@Marvin Is there a way to specify sender name when using sendgrid block? I want the mail sender to be
MYNAME
, but when I pass
MYNAME <<mailto:abc@mail.com|abc@mail.com>>
ass
sender_email
it doesn't work.
m
It seems there's no explicit documentation or GitHub issue detailing how to specify a sender name alongside the email address for the SendGrid block in Prefect. The typical format for email addresses in headers like
"My Name <email@example.com>"
might not be directly supported as you tried. However, you can look into the implementation details or extend the functionality by customizing the block or using the SendGrid API directly within your Prefect flow. This approach allows you to set the sender name and email correctly. For more information on blocks and their configuration in Prefect, you can explore the Prefect Blocks documentation. If you want to keep up with potential updates or discussions, you might want to watch related GitHub issues or pull requests, like this one related to the SendGrid email notification block.