Category Archives: email

Secure iPhone email on with SSL for SMTP and IMAP

The iPhone encourages “risky” network behavior. The cellular EDGE connection is slow enough that its tempting to connect to any available WiFi network. Unfortunately this has security implications, because the network owner can peek into all your traffic if they are so inclined.

Encryption can help. Your connection to the sensitive parts of bank and retail websites is almost always encrypted SSL. Most other websites don’t use encrypted connections. There are ways to address this by using a VPN or secure proxy server with your iPhone, but neither option is easily available to the average user.

One think you can do is turn on SSL encryption for sending and receiving e-mail, which many web hosts support. These options are available in the advanced settings for each e-mail account. I had no trouble encrypting my IMAP connection, which the iPhone uses to receive new messages and manage my e-mail boxes, but it didn’t work for outgoing SMTP mail.

A little research and I found the problem. SSL encrypted IMAP and SMTP use different ports from unencrypted IMAP and SMTP. The iPhone automatically adjusts the port when you turn on SSL encryption for your IMAP connection, but keeps using the standard SMTP port when you turn it on for SMTP.

The solution is simple. For the outgoing webserver, just add the right port number (typically port 465) to the end of the hostname. If you are a customer like I am, and you use their mail server for outgoing mail, your outgoing mail server when you turn on SSL encryption for SMTP should be listed as “”