Thanks to visit codestin.com
Credit goes to www.twilio.com

Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page

Thunderbird


To send email using Thunderbird you will have to modify your outgoing server settings in Thunderbird accordingly. Additionally you can modify settings in Thunderbird that will allow you to include an SMTP API header in your emails if you wish to leverage categories or other features of the SMTP API when sending mail via the Thunderbird client.


Getting started

Codestin Search App
  1. Navigate to Tools and select Account Settings.
Thunderbird SMTP settings with SendGrid server highlighted and add button indicated.
  1. Enter the following settings:

    • Description - SendGrid Connection
    • Server Name - smtp.sendgrid.net
    • Port - 465
    • Connection security - SSL/TLS
    • Authentication method - Normal password
    • User Name - apikey
    • Password - Your SendGrid API key. (You can read more about authenticating with an API key at this link)
SendGrid SMTP settings with server name, port, and authentication details.

Incorporating SMTP API headers

Codestin Search App

To incorporate SMTP API headers:

  1. Select Tools > Options (Win) or Thunderbird > Preferences (Mac) from the menu in Thunderbird.
  2. Click Advanced.
  3. Select General and click Config Editor.
Thunderbird Advanced settings with Config Editor button highlighted.
  1. Enter "mail.compose.other.header" under "Filter:"
  2. Double-click mail.compose.other.header.
  3. Enter "X-SMTPAPI"
  4. Click OK.
  5. Close the configuration editor and preferences dialog.
Thunderbird config showing mail.compose.other.header set to X-SMTPAPI.
  1. Restart Thunderbird

Create a mail message and just like you would add a CC or BCC to your email, click the drop down option that will now allow you to add a header of the type "X-SMTPAPI" in addition to "To".

Email composition window with X-SMTPAPI field set to category 'Welcome'.