Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Problem setting up two separate Sendgrid SMTP relays for two separate email accounts

  • 3 replies
  • 1 has this problem
  • 38 views
  • Last reply by david

more options

I have two email accounts on two different domains and I have a separate Sendgrid account for each of the two domains for sending emails via Sendgrid's SMTP relay. The problem is that while both smtp accounts have different passwords, they both have the same host (smtp.sendgrid.net) and the same username ("apikey" - which is unchangable and Sendgrid sets this as the username universally for every SMTP relay API Key user). So I can set one account up just fine, but when I set the second account up, even though I've created a separate Outgoing Mail Server account, because it has the same host and username as the first account, is doesn't prompt me for a password at all and there is nowhere for me to manually enter a password in the Outgoing Mail Server settings, so sending emails fails for the second account because it's trying to send using the password from the first account, but the API Key that uses that password isn't authenticated in Sendgrid to be sent by the second account's email address. Could you please add a "Password" field into the "Outgoing Mail Server" settings, so that a different password can be manually set for each server account, even if they are the same host and username as another server account?

I have two email accounts on two different domains and I have a separate Sendgrid account for each of the two domains for sending emails via Sendgrid's SMTP relay. The problem is that while both smtp accounts have different passwords, they both have the same host (smtp.sendgrid.net) and the same username ("apikey" - which is unchangable and Sendgrid sets this as the username universally for every SMTP relay API Key user). So I can set one account up just fine, but when I set the second account up, even though I've created a separate Outgoing Mail Server account, because it has the same host and username as the first account, is doesn't prompt me for a password at all and there is nowhere for me to manually enter a password in the Outgoing Mail Server settings, so sending emails fails for the second account because it's trying to send using the password from the first account, but the API Key that uses that password isn't authenticated in Sendgrid to be sent by the second account's email address. Could you please add a "Password" field into the "Outgoing Mail Server" settings, so that a different password can be manually set for each server account, even if they are the same host and username as another server account?

All Replies (3)

more options

I'm not familiar with sendgrid, but try this: tools>preferences>privacy&security. Click 'saved passwords'. Locate the lines with incoming and smtp for the account with no password. highlight and rightclick and a menu will open to edit password for each. Let me know if that works.

more options

No sorry, unfortunately that doesn't work. Yes, I can go to that screen and edit passwords that way, but the problem is that because the second account's smtp settings uses the exact same smtp provider and username as the first account, it only allows that provider / username combo to exist in the list once. The problem is though that while the provider and username are the same for both accounts, they both use different passwords. And I can't just leave the password set to not remember and make me enter it each time for each account when sending because it's a big long 40 character string of garbled characters. So what's really needed here is for the developers of Thunderbird to actually change how smtp details are stored; At the moment it is storing passwords based on the smtp provider / username combination. Instead, it needs to store the smtp provider, username and password based on the mail account to which it is assigned.

more options

You can file that at bugzilla dot mozilla dot org Thanks.