N
Novu4mo ago
yaacov

Sender names not showing up with mailgun as a provider

I have a mailgun email provider and I set my Sender name to “Commenda” (the name of my company). I’m sending emails from an address “operations@commenda.io” Expected: the sender name should be set to Commenda - the from header should say Commenda <operations@commenda.io> Actual behavior: the sender name is not set and the From header is just operations@commenda.io. So the name displayed in the user’s email inbox is “operations”, which is not ideal for obvious reasons
14 Replies
Ask Inkeep
Ask Inkeep4mo ago
Hi @yaacov, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question. ----------------------------- While I generate an answer, here are some sources that might be helpful: * Mailgun * Email providers * NextJS * Monorepo Structure -----------------------------
Ask Inkeep
Ask Inkeep4mo ago
Answer The issue you're experiencing with the sender name not appearing as expected when using Mailgun with Novu could be related to how the Mailgun provider is configured in Novu. Specifically, the problem might stem from the integration setup between Novu and Mailgun, where certain parameters such as the from_name might not be correctly passed or utilized. When setting up Mailgun as a provider in Novu, it's crucial to ensure that your API key, domain name, and other required information are correctly added to the Mailgun integration on the Novu platform. This setup involves specifying the From email address and potentially the Sender's name during the Mailgun integration process with Novu (1) . However, based on your description, it seems like the expected sender name setup isn't reflected in the emails sent. This might indicate a discrepancy in how the sender's name is being handled or passed in the email sending process. Although the documentation provided doesn't directly address the issue of the sender's name not appearing as expected, it's essential to review the configuration and ensure that all necessary fields are correctly filled during the setup. Given the current information and sources available, I recommend double-checking the Mailgun integration settings on the Novu platform to ensure that the sender name and other relevant fields are correctly configured. If the configuration appears correct and the issue persists, it might be beneficial to review any recent changes to the Mailgun or Novu documentation or reach out for support from their respective teams for more detailed guidance specifically related to the sender name configuration.
Sources [1] Mailgun
Pawan Jain
Pawan Jain4mo ago
There are three places to set sendername 1. In provider integration form 2. In email step editor 3. using overrides during workflow trigger Which one you have set?
yaacov
yaacov4mo ago
No description
yaacov
yaacov4mo ago
In provider integration form But I tried overriding it in step editor and it didn’t work there either Actually, I think we may be overriding the override in code
Novu_Bot
Novu_Bot4mo ago
@yaacov, you just advanced to level 1!
Pawan Jain
Pawan Jain4mo ago
remove sender name from step editor and update integration form value with Commenda <operations@commenda.io> Please retry after this change
Actually, I think we may be overriding the override in code
If you are overriding senderName field using overrides field, make sure you are using Commenda <operations@commenda.io> value there as well
yaacov
yaacov4mo ago
Yup, making that change now I think another dev on my team misunderstood the ‘from’ field in the payload That sets the from header directly, right?
Pawan Jain
Pawan Jain4mo ago
wait let me check I may be wrong
yaacov
yaacov4mo ago
Thanks!
Pawan Jain
Pawan Jain4mo ago
My mistake!! Yes, you need to change from value with this Commenda <operations@commenda.io> in above form and override
yaacov
yaacov4mo ago
What’s the hierarchy here? If we set ‘from’ from the API, will that be prioritized over the dashboard setting? setting ‘Commenda <operations@commenda.io>’ In the “From email address” on the integration drawer works! Thank you The UI is quite unclear here, you should fix this at some point I appreciate the quick support though Why isn’t the “sender name” field here doing anything?
Pawan Jain
Pawan Jain4mo ago
@yaacov Thanks for the feedback Strangely, we are not using senderName for mailgun https://github.com/novuhq/novu/blob/next/packages/providers/src/lib/mailgun/mailgun.provider.ts#L43 Could you please create a github issue for this? It's a small fix. I would love to take community help in this !issue
Novu_Bot
Novu_Bot4mo ago
Let's open an issue over GitHub! That's the link you should follow: https://github.com/novuhq/novu/issues/new/choose
Want results from more Discord servers?
Add your server