I talked to a friend last night who is a long-time Android user and he said that he had always set up his email as IMAP. So I tried that and it worked! Hallelujah!
However sending email properly was not quite as easy. My work server apparently won't relay email from outside the network without a complex series of security settings which my phone doesn't have the sophistication to mimic.
So I tried to send my work email through my personal mail server. The server is smart enough to see that the "from" email address doesn't match the domain so it rejects it, or more specifically doesn't relay it at all.
So then I try to send through my Gmail account, which has worked well for other accounts in the past. The mail goes through, but Gmail changes the from, so instead of saying from "firstname.lastname@example.org," it says "from email@example.com."
I spent an hour wrestling with this last night, and I got one email through properly. Backtracking from that email I worked out a relatively simple hack. I have at least a half dozen Gmail accounts, and tried sending through all of them. The one that works has my "from" address at work set up as an identity. Thus Gmail does not change the address!
After two weeks I almost have my email working, with the exception that I dislike IMAP. But at least I can now reliably check my email. Not as easily as I would like but it works!
To recap, if you are having difficulty relaying your email through an SMTP server from an Android phone:
- Set it to use your Gmail account as an SMTP (smtp.gmail.com, TLS security)
- Make sure that the Gmail account you are using as login credentials has the email you want to send from set up as an identity.