SMTP Server Settings
Sending Emails with various servers can be a challenge. In this blog article we like to collect the settings needed for using our SendMail functions in FileMaker or CURLEmailMBS class in Xojo to send emails. As you see we always prefer to use encryption.Bei checking certificates, we can detect and avoid giving our password to a transparent proxy. And we enable TLSv1.2 for all here and require encrypted connection. It's important to test and verify this, as I once run into a hotel reading my emails to count them and prevent spamming.
|
Domainfactory Our provider domainfactory offers email servers which we use for sending our own emails. | ||
| Setting | Value | Comment |
|---|---|---|
| SMTPServer | "sslout.df.eu" | The ssl smtp server. |
| SMTPUsername | Your email | |
| SMTPPassword | Your password | |
| OptionPort | 587 | The port for SMTP over TLS |
| OptionUseSSL | 3 | Require encrypted connection |
| OptionSSLVerifyHost | 2 | Verify host |
| OptionSSLVerifyPeer | 1 | Verify peer |
| OptionSSLVersion | 6 | TLS v1.2 |
| OptionCAInfo | sslout.df.eu.cer | The file with certificate used by server. |
|
iCloud | ||
| Setting | Value | Comment |
| SMTPServer | "smtp.mail.me.com" | The iCloud smtp server. |
| SMTPUsername | Your iCloud email | |
| SMTPPassword | Your app specific password | |
| OptionPort | 587 | The port for SMTP over TLS |
| OptionUseSSL | 3 | Require encrypted connection |
| OptionSSLVerifyHost | 2 | Verify host |
| OptionSSLVerifyPeer | 1 | Verify peer |
| OptionSSLVersion | 6 | TLS v1.2 |
| OptionCAInfo | cacert-icloud.pem | The file with certificate used by server. Just a pem file with Geotrust Global CA seems to be enough. |
| For iCloud, please login to your apple ID management page and create an app specific password. | ||
|
gmail | ||
| Setting | Value | Comment |
| SMTPServer | "smtp.gmail.com" | The google smtp server. |
| SMTPUsername | Your gmail email | |
| SMTPPassword | Your gmail password | |
| OptionPort | 587 | The port for SMTP over TLS |
| OptionUseSSL | 3 | Require encrypted connection |
| OptionSSLVerifyHost | 2 | Verify host |
| OptionSSLVerifyPeer | 1 | Verify peer |
| OptionSSLVersion | 6 | TLS v1.2 |
| OptionCAInfo | cacert-google.pem | The file with certificate used by server. Just a pem file with GlobalSign Root CA - R2 seems to be enough. |
|
For Gmail you need to allow less secure apps on website in your account settings or with 2FA create an app specific password. I would recommend a separate gmail account for sending emails. | ||
|
t-online.de | ||
| Setting | Value | Comment |
| SMTPServer | "securesmtp.t-online.de" | |
| SMTPUsername | Your t-online email | |
| SMTPPassword | Your t-online password | |
| OptionPort | 587 | The port for SMTP over TLS |
| OptionUseSSL | 3 | Require encrypted connection |
| OptionSSLVerifyHost | 2 | Verify host |
| OptionSSLVerifyPeer | 1 | Verify peer |
| OptionSSLVersion | 6 | TLS v1.2 |
| OptionCAInfo | cacert-telekom.pem | The file with certificate used by server. Just a pem file with Deutsche Telekom Root CA 2 seems to be enough. |
|
Office 365 | ||
| Setting | Value | Comment |
| SMTPServer | "smtp.office365.com" | |
| SMTPUsername | Your office 365 login | |
| SMTPPassword | Your office 365 password | |
| OptionPort | 587 | The port for SMTP over TLS |
| OptionUseSSL | 3 | Require encrypted connection |
| OptionSSLVerifyHost | 2 | Verify host |
| OptionSSLVerifyPeer | 1 | Verify peer |
| OptionSSLVersion | 6 | TLS v1.2 |
| OptionCAInfo | cacert-office.pem | The file with certificate used by server. Just a pem file with Deutsche Telekom Root CA 2 seems to be enough. |
Update: Yahoo also works with using smtp.mail.yahoo.com, TLS and port 587. You need to enable less secure devices in security settings and pass in your login and password for the account.