Get Spam-free Email on your iPhone

ImageI’ve had my iPhone for months now and, until about two weeks ago, I was secretly unhappy with how it handled my email. You see, I get lots of email. Lots and lots, as a matter of fact, and it comes into twelve different accounts. I used to use Apple’s Mail to manage it on my MacBook, and all was good. But when I got my iPhone, I discovered that the phone’s lack of spam-filtering power made it literally unusable for my deluge of email.

Mail always sorted my mail invisibly, and its built-in spam filter kept the junk out of my Inbox. I use IMAP mail services, which means that all of my mail stays on the server, so I can access it from my MacBook, someone else’s computer via webmail or, I thought, my iPhone. But when I synced the accounts to the phone, the Inbox filled with spam so quickly that my actual email was lost in the mix.

It has taken me a while, but I’ve worked out a solution that leverages several great pieces of technology to make Mail on the iPhone work the way it should. Click onward to learn how I did it.

The truth is that this is pretty easy. All I’ve done is send all of my personal email to a secret Gmail account that nobody knows about. Then I connect to Gmail from the phone and Gmail’s powerful server-side filters keep the junk out. The only hang-up is that when I send people mail, I want them to receive it from my personal account, not my Gmail… but there’s a fix for that, too.

Step one is to get a Gmail account. Even if you already have one, go ahead and send yourself an invitation for another one and give it a crazy log-in that nobody will ever know. Once the new account is created, tell your other email account to auto-forward all of your mail to your secret Gmail account. This means that any mail sent to your personal account will show up in your new Gmail account.

Screenshot

The next step is to fix things on Gmail’s end so that when you send people mail, it looks like its coming from your personal account and not your secret Gmail identity. You can do that from within the Gmail interface in your web browser. Click on the Settings link in the upper-right corner of the Gmail interface (next to your secret name) then click on the Accounts tab. The first option says “Send mail as:” and there’s a link there to add another email address. Click it.

Screenshot

n the resulting pop-up, add your personal account and then check it. Google will have sent you a verification email with a link in it to click to prove that you can access that account. Once you do that, head back to the Settings screen and click the link to make your new “Send As” address the default.

Whew! Once that’s finished, you can add the Gmail account to your iPhone. One caveat: DO NOT use the iPhone’s built-in Gmail account tool when you add the account. Instead, set the account up as an Other account, then click the IMAP tab and use the following values:

IMAP Account Information
Name: What you want your name to appear as when you send
Address: Your personal email address (not the secret Gmail address)
Description: Whatever you want

Incoming Mail Server
Host Name: imap.gmail.com
User Name: Your secret Gmail login (without the @gmail.com part)
Password: Duh.

Outgoing Mail Server (SMTP)
Host Name: smtp.gmail.com
User Name: Your secret Gmail login (without the @gmail.com part)
Password: Duh.

You can look at the Advanced settings, but you shouldn’t have to touch them unless you want to. When you’re done, you should be all set up. Now when someone sends an email to your personal account it will show up on your phone via Gmail, but when you respond it will look like your response came from your original account, not your Gmail. If you like, you can even add the account to Mail on your Mac.

Comments

48 Responses to “Get Spam-free Email on your iPhone”

  1. Jim on March 6th, 2008 7:18 am

    Excellent idea. Great post.

  2. Marko on March 6th, 2008 7:35 am

    Using “Send mail as:” option will reveal your orignal account in MS Outlook. At least in 2007 edition.

    Am I wrong?

  3. Mark on March 6th, 2008 8:01 am

    Or you could just have gotten the brilliant SpamSieve, kept your accounts the way they were, and skipped the whole Gmail deal you just described. :-)

  4. Mike on March 6th, 2008 10:12 am

    @Mark: Am I missing something? Your proposed solution requires you to have Mail.app running on another Mac at all times. Dan’s solution doesn’t.

  5. Dan Booring on March 6th, 2008 10:30 am

    Mark,

    I didn’t mention it in my article because I didn’t want to complicate the issue, but I do use Spam Sieve. The problem, as Mike points out, is that Spam Sieve is a client-side spam filter, which means that it only works on spam that has already been downloaded to my MacBook. In this way, it is no better than Mail’s built-in filter.

    (Of course, it is a far better filter than the one built into Mail… but it is still limited to client-side filtering.)

    Gmail’s filter, on the other hand, is a server-side filter; it cleans the spam out *before* you download it to whatever mail client you are using (Mail, on your MacBook or the Mail client on your iPhone). In this way, it is far superior to Spam Sieve, which is why I use it.

  6. Mac on March 8th, 2008 7:18 am

    I’ve been tossing very similar issues around for a couple of months, and just released a new iPhone email service… MailCurve. Take a look, at http://www.mailcurve.com. The iPhone allowed us to a unique approach… you may find it useful.

    Thanks,

    Mac

  7. albaforce on March 10th, 2008 10:56 am

    mir se vini ne forum ma te riun ne internet dhe ma e mirin

  8. Rich Kits on March 11th, 2008 10:45 pm

    Thats awesome! thanks! i was wonderin how to do that

  9. Kristina on March 21st, 2008 2:55 pm

    Okay, so maybe I missed a basic step, but now when I send an e-mail from the iphone with this setup, the ‘from’ in outlook says ‘My Full Name [secretgmailaccount@gmail.com] on behalf of My Full Name [my_personal_email@domain.com]‘

    How do I make the whole ‘on behalf of’ stuff go away and make it from ‘My Full Name my_personal_email@domain.com‘?

    Thanks!!

  10. aleksa on April 3rd, 2008 3:19 am
  11. Peter on May 23rd, 2008 4:26 pm

    Quote:

    “Okay, so maybe I missed a basic step, but now when I send an e-mail from the iphone with this setup, the ‘from’ in outlook says ‘My Full Name [secretgmailaccount@gmail.com] on behalf of My Full Name [my_personal_email@domain.com]’

    How do I make the whole ‘on behalf of’ stuff go away and make it from ‘My Full Name my_personal_email@domain.com’?

    Thanks!!”

    I have the samne issue here. Can anybody help with solving this?

    Thanks,

    Peter

  12. Jack Amick on May 26th, 2008 7:43 pm

    Haha, nice. Works perfect.

  13. Dennis on June 20th, 2008 11:56 am

    I have several issues with this. For one, everything in my Inbox on the iPhone says it’s from me (since it was forwarded from my personal email) and when I hit “Reply” it goes back to that personal email address instead of the original sender. And I have the same problem as mentioned above – when I send a message from my iPhone, it lists the sender as “xxx@gmail.com on behalf of xxx@insightbb.com“. Plus, now the mail on my iPhone is acting squirrelly – it won’t let me delete emails and it keeps saying I have new emails when I don’t.

    So far, not impressed with email on iPhone!

  14. Mike Stevens on August 15th, 2008 10:13 am

    Hi and thank you to everyone, but I’ve really tried to follow the story but to me, as a newbie and an old one at that, I’m overwhelmed with information.

    I have an iPhone 3G and would like to reduce spam. I see that using Gmail will help.

    I have a main email account which is a POP3 or is it IMAP (****@*********.freeserve.co.uk)
    I also have a Gmail account, which is on my PC and on my iPhone 3G.

    Could someone simply list the settings that each device should have?

    Thank you in advance.

  15. JD on October 5th, 2008 3:28 pm

    This works perfectly! Setup was simple and easy, great idea.

    For those who are having problems, you don’t deserve an iPhone…

  16. tpaulsen@gmail.com on December 8th, 2008 3:06 pm

    Thank you so much! I have been so frusterated with apple and the lack of respect they give to large email inboxes. There are so many people mad at thier iphones. I only wish i had found your website earlier. I love getting new emails with out maually trashing my inbox. That was the biggest productivity killer. This is a must fix for every corp user.

  17. Juan on December 10th, 2008 11:08 am

    You need to do the server-side forward. All the emails are coming from your personal account and replying there because you do the forward in the client like outlook or something like that.

  18. Gryts on December 15th, 2008 2:21 pm

    It works magnificently, and is indeed quite simple to configure. It was the only thing that kept bugging me about my lovely iPhone. Thanks!

  19. Cecil on December 23rd, 2008 6:26 pm

    Brilliant!

    Works like a charm with my iphone. Great article!

    Thanks

  20. Kim on January 15th, 2009 3:37 pm

    Thanks so much. I’m so grateful to have found your article as I was spending way too much time deleting spam from my IPhone!

  21. dobberj3 on January 30th, 2009 1:38 am

    Ok. I have followed the above instructions to a T. Emails being sent to my personal address are successfully being forwarded to my “secretnamethat nobodywillguess@gmail.com” address. However, I have not succeeded in sending messages from my “secretnamethatnobodywillguess@gmail.com” address, and having it appear that it was sent from my personal address. The address that appears in the “From” box is “secretnamethatnobodywillguess@gmail.com” . I’m a little confused at this point, because I followed the instructions.

    Any suggestions?
    Thanks

  22. gfunk on February 9th, 2009 5:22 pm

    shoot! I really want this to work but I am having the same problem as dobberj3. I can’t get my responses from my iPhone to show up as from my non-secret account. Anyone? Anyone? Bueller?

  23. Dean on February 14th, 2009 1:46 am

    This is awesome!!!! thanks

  24. Ron on March 3rd, 2009 3:14 pm

    Thanks for this tip!
    Question: Server folders- If want to create folders to store emails for this forwarded account do I create them within gmail? And will they sync on the iPhone?

  25. MacQuid on April 9th, 2009 9:05 am

    Works fine for me. Thanks 10**6 Dan!

    If the return e-mail address is showing your secret address, did you possibly put your secret address into the imap setting instead of:

    Address: Your personal email address (not the secret Gmail address) ?

  26. MacQuid on April 10th, 2009 4:35 am

    Know what Dan… Saying “thanks” just once just isn’t saying it often enough for how big a problem your idea solved for me. “Thanks” to you there’s actually a USEABLE e-mail feature on my iPhone now!

    And and there certainly wasn’t before.

    “Thanks” Dan

  27. Tanguero on April 24th, 2009 3:01 am

    It has stopped the spam.
    Excellent.

    It does send mail with an address of my choosing in the “from” field but only when I send emails from the gmail page in Safari.
    From the Mail app and from my iPhone all sent emails show the gmail address.

    More than one person above me has this problem.
    No one has an answer yet.

    I really would love to get this working properly, please help

  28. Mike on April 27th, 2009 10:43 pm

    Looks like about half of people who try this have luck. I suspect that different mail servers treat the outgoings differently.

  29. Mike on April 27th, 2009 10:53 pm

    Guys who are complaining that your from email is not the secret email (secretemail@gmail.com) try replying to a test email and see if the reply is your regular email address. I bet it is. This trick does work, it just seems to not hide the sending gmail address for everyone.

    JD “For those who are having problems, you don’t deserve an iPhone…” Please go somewhere else loser. Everyone deserves an iphone. We hate mac snobs here.

  30. john on May 10th, 2009 5:52 pm

    thanks for the great work-around. i just set this up on my phone and it seems to work great….however, i’m not seeing a copy in my “sent items” folder on my iphone…is this normal, or do i need to tweak something in order to retain a copy?

  31. Chris on June 1st, 2009 12:48 am

    I was having the same problem as some people noted above with secret email address also appearing as a “on behalf of” on mail sent from my iphone.

    I managed to fix it by changing the outgoing mail server on my iphone settings so it uses a different one. (ie turn off smtp.gmail.com and turned on my vodafone one, but you could use whatever you have avaliable)

    Hope that helps some people as this solution has been great for me in saving a huge amount of time by not having to deal with iphone spam email overload, thanks heaps Dan.

    Cheers

    Chris

  32. Adam Trenholm on June 6th, 2009 3:19 am

    My email address has been around for about 8 years, it’s on the net, and all my clients have it. Desktop filtering via Outlook works fine, however when I got my iPhone, SPAM was killing me. This was simple and did the trick!
    Thank you kind sir!

  33. joe on June 17th, 2009 2:18 pm

    Hey Dan, just wanted to say really well done! The method works great and further improves functionality.

    Ironically the mail I’m receiving on my phone has less spam than the filter on my home computer is providing.

    Thank you very much my man!

  34. Paul on July 3rd, 2009 12:31 pm

    I hope you still check this Dan. Back to step one. How do you get the email to auto forward to the gmail account. I can set the rule in Mail (mac) but that means it only works if Mail is up and running. Is there a way to get this to work when I am away from home, when I don’t want to leave the computer running all the time? Mike’s reply on March 8th 2008 implies that you can do this with your method. Thanks

  35. Dave on July 3rd, 2009 2:45 pm

    There is one way around it showing your ’secret’ gmail address – and that is use something sensible. Instead of using an unintelligible gmail address ie ‘nobuggerwill guessthisone’ – I’ve created one that makes it clear its from my mobile eg: ‘FromJoeBloggsMobile’. Replies still go to your non-gmail account and are forwarded to your iphone via gmail – and remember the whole purpose of this was not to create a secret account so much as to use Gmail’s powerful spam filter that the iphone doesn’t by itself provide.

  36. Paul Abell on July 4th, 2009 7:08 am

    This is great. Not bothered that with the secret bit because all I needed was the spam filter. On an old personal address of mine email on the iPhone was almost impossible to use due to volumes of spam and thos has completely corrected this problem. Thanks for the post Dan.

  37. No Spam on July 10th, 2009 8:00 pm

    Just remember your email is not private with gmail, esp if you have clients and are under NDA.

  38. Peter on July 13th, 2009 7:20 pm

    Good idea which I actually do use for Gmail’s superior filtering but bothering to make the email account something complex is a waste of time since I believe that info is available in the header of each email. I could be wrong but 99% sure that is the way it is.

    -Peter

  39. Steve on July 15th, 2009 5:26 pm

    Works like an absolute dream – thanks so much. Steve

  40. Paul on July 16th, 2009 12:01 pm

    This is so great! Thanks so much!

    Can anyone tell me…do I just turn the mobileme mail acccount off on my phone now? Because I’m getting notifications twice for every email received this way.

    I have a bunch of folders on mobileme that I’ll need to transfer to gmail somehow.
    I was going to set up gmail in Mail on my mac. Then drag and drop them over onto the gmail inbox. Will this work??

    Thanks again!

  41. superdiver on August 17th, 2009 10:17 pm

    ok, working well so far, BUT, i have 2 active mail accounts (neither are gmail)…

    I want to only get mail on my .mac acct, so what I am trying is instead of making a new gmail IMAP acct on my phone is simply forwarding my mail from the secret gmail acct to my .mac account. Does that mac sense?

    The reason I just dont use my .mac acct is that I have an email that 20 years worth of clients are used to and is very easy to remember. I want them to be able to email that acct, and it get forwarded/filtered (secret gmail acct) and then forward those emails to my .mac acct.

    But then when I respond from the .mac acct it shows up as .mac, not the newly disguised original old email that is now the secret gmail acct….

  42. superdiver on August 17th, 2009 10:32 pm

    so far it works great. if it continues to work I will just delete the older email off my iPhone and use the .mac acct (now mobile me) since it is all being forwarded to that account after it is filtered, thanks!

  43. Troy on September 25th, 2009 9:34 am

    I was working on a similar concept when I stumbled on this article. There’s just one thing I would do differently to alleviate some of the concern listed.

    Instead of “auto-foward” set you original mail to be “redirected” to the new gmail account. This way, you get the email from the original sender instead of from yourself. If you don’t have access to a mail server in which to do this, then you may have to stick with the auto-forward.

    It’s working great for me. Great article

  44. Billy on October 6th, 2009 1:42 am

    Great article!!

    I’m also using the option in the gmail settings/accounts window to check other POP accounts as I can’t get in and set that account to forward. It works great! The iPhone lets me select a “send from address” so I can send from the correct address even though I can’t set it up in the “send mail as” section. As to the posting above – my servers forward emails with the original sender’s address in them. Maybe different servers act differently so check yours out.

    – Billy

  45. Billy on October 6th, 2009 2:26 am

    oops – wait – I spoke too soon – I’m having the same problem as half the people – it send back from my secret address instead of the default one I’ve selected.

  46. Billy on October 6th, 2009 2:56 am

    Okay – I discovered something now (sorry for the string of posts) that may solve the probloem half of us are having.

    on the iPhone in the IMAP account information area I’ve entered an address other than my secret gmail address. When I do this the iphone DOES send from whichever default address I have selected on the gmail website even though I have “Reply from the same address the message was sent to” checked.

    When I change that setting back to the secret gmail address they are all sent from that address.

    Weird workaround but it’s working now.

    Now I’m actually thinking of getting a normal gmail address and doing it from there so people will at least know it’s from me. I normally use several email addresses for different businesses and not one takes precedence over another so this may be the best solution for me. YMMV

    – Billy

  47. Michael on October 11th, 2009 1:56 am

    Thank you!! It worked great EXCEPT…
    is anyone else having a new problem with the always bcc myself after setting this up. I am finding that reciepients are getting doubles of each email. When i turn off the ‘always bcc myself’ the problem disappears. BUT that feature (the bcc) is crucial for me. Any thought?

  48. nick on October 15th, 2009 10:48 am

    I’m sure someone already pointed this out but the gmail address is exposed in the headers of the email, also people using outlook will see

    person@email.com on behalf of user@gmail.com

    I get around this by just setting up my SMTP server to use my ISP’s email server with SMTP auth enabled. That way I am not sending through gmail.

    ok

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!