I'm trying to send emails using SendGrid, but I want to set the "From" address dynamically based on the selected user in my system. Specifically, I have a configured SendGrid account, but the "From" address needs to vary across different users who belong to various domains.
I've managed to set up the system so it selects the correct "From" address as intended. However, when I test it, the emails are being sent by sendgrid with verification link but on clicking the link user is prompted for a Twilio login, which isn’t required for my use case.
Key points:
I need to use a specific SendGrid account to send the emails.
The "From" address should be chosen dynamically, based on the selected user’s email in my application.
I dont basically wants user to get verification links and them to directly get verified but also them to not be able to access the account
Has anyone else encountered this issue or know a way to configure SendGrid to allow for dynamic "From" addresses without involving Twilio login? Any advice or solutions would be greatly appreciated. Thanks!
Top comments (0)