Looking to Sync Gmail? Here's how I did it...

Discussion in 'iPhone Tips, Help and Troubleshooting' started by leetard, Sep 24, 2007.

  1. leetard macrumors newbie

    Nov 14, 2006
    I was extremely frustrated with the iphone treating all of my mail as new and unread! Even after I archived everything and the inbox was empty, I was still getting the same damn emails on my phone!

    Gmail does not have the ability to sync or push your mail, BUT there is a great work around that I read about that makes it simple.

    On your computer:
    1) Set up a FREE AOL account. This will be used for syncing and push ability from gmail to your iphone (AOL offers free IMAP which is what you've been wanting your gmail account to do!) * Don't worry, all gmail will go to your phone and all email sent by you will still have *******@gmail.com as the sender!
    2) After that's set up, go to your gmail settings and set up a new filter. In the "To:" field enter your gmail address. This means that the filter will apply to all email that is sent to you. Click next. Check "skip inbox" check "Apply the label" (I made a label called iphone). Then check "Forward it to:" and enter your new aol account info there.
    *This will forward all email to your phone tag them, and automatically archive them in gmail!

    On your iphone:
    1) Delete all of your email accounts so you're starting fresh.
    2) Set up a new account, but don't choose gmail! Choose "other"
    3) Select the IMAP tab and fill in the info like this:

    Name: your name
    Address: your gmail address
    Description: whatever you want to call it

    Incoming Mail Server:
    Host name: imap.aol.com
    User name: your aol user name
    Password: your aol password

    Outgoing Mail Server (SMTP):
    Host name: smtp.gmail.com (If mail doesn't seem to be sending, try "smtp.mail.google.com" instead)
    User name: your gmail name
    Password: your gmail password

    That should do it! To test it, send something to your gmail from another account (hotmail... etc.) Bam! right to your phone! Then for a real kicker, reply back to it from your iphone and look at the email address.... gmail!
    This has helped me immensely and I hope it helps you too

  2. QCassidy352 macrumors G4


    Mar 20, 2003
    Bay Area
    yep, that's what I do too. Nice description for those who don't have this set up yet.
  3. martinmartin macrumors 6502

    Jun 5, 2007
    Does aol have push email - meaning will the email get to my phone as soon as it gets to the server?

    My old Blackberry could do this with both my Gmail account and my work account.

    This is not the case on the iphone, though...


    Edit - my second question is, if this does support push email and the email comes directly to my iphone, is there a way to setup my business email so that it functions in the same way (forwards to a push service but still shows my @business address in replies, etc). THanks.
  4. ScottDrummer macrumors 6502

    Jun 27, 2007
    or you could just use Recent.
    on your login details, for the username put "recent:yourusername@googlemail.com"

    this will then fetch the recent emails, 30 days irc
  5. martinmartin macrumors 6502

    Jun 5, 2007
    Pardon my ignorance, but what is the reason behind doing this?

    Does this make emails arrive instantly on the iphone, or does this help in terms of syncing up mail with programs like mail.app, entourage, etc.?

    I'm looking for a way for emails to arrive instantly on my iphone like they did on my Blackberry while allowing me to reply from the *correct* address.

    Thanks in advance.
  6. d21mike macrumors 68040


    Jul 11, 2007
    Torrance, CA
    My understanding is that ALL IMAP Servers will only deliver based on your Poll Setting which has a min of 15 min. The only Push is Yahoo.

    Can anyone with AOL confirm this. My thinking is that maybe it was just a timing thing unless AOL figured out what Yahoo was doing and started supporting it. If so, this would be a major find.
  7. Angelo921 macrumors 6502

    Jul 30, 2007
    I did what you said but now when I receive an email on my iPhone to my gmail address and try to respond to it, it does send. Any ideas why?
  8. leetard thread starter macrumors newbie

    Nov 14, 2006
    Yeah, gmail is by no means pushed, but this option is way better than the standard gmail option from the iphone.

    15 mins is the quickest poll, but that's not bad for free IMAP!
    Come on gmail! Get with it.
  9. leetard thread starter macrumors newbie

    Nov 14, 2006
    For the outgoing server try: smtp.mail.google.com instead... I remember reading that that was an issue for some people.
  10. martinmartin macrumors 6502

    Jun 5, 2007
    This option is way better in terms of what? If the emails arent pushed, then dont you still have to wait 15 minutes?

  11. whyrichard macrumors 68000

    Aug 15, 2002
    what is the best method for getting rid of sent mail from appearing in my inbox?

  12. Racktacular macrumors regular

    Oct 13, 2006
    I tried setting this up but it won't send out e-mails. I tried both the smtp.mail.google.com and the smtp.gmail.com. Here is the error message I get: "Cannot send mail. The connection to the outgoing server "smtp.mail.google.com" failed."

    Any thoughts as to why?
  13. Angelo921 macrumors 6502

    Jul 30, 2007

    I tried that and that doesnt even verify the account.
  14. QCassidy352 macrumors G4


    Mar 20, 2003
    Bay Area
    No, as others have said, it does not push mail. There are several benefits, though. First, this allows you to use IMAP, so your iphone and your mac stay in sync (well, actually, mail sent from the iphone appears on your mac, and on the gmail web interface, but mail sent from your mac does not appear on your iphone. the iphone mail client just isn't advanced enough). Second, it gets rid of the problem where mail that is sent from the gmail web interface appears as new mail in your inbox. Third, the same mail does not appear as "new" in both your iphone and your mac. (in my experience, the second and third problems are an either/or, depending on whether you use "recent" or not.)

    If your main concern is pushed email then this isn't going to help. However, it is IMAP, and it is the most elegant way of using gmail with a mac, an iphone, and the web interface that I have found.

    As I noted above, I think that problem happens when you use "recent" with gmail. The alternative is to turn off recent, but that creates the problem of mail being downloaded as new to both your iphone and mac. The solution the OP described is the best I've found.

    I know that you're probably hesitant to use AOL (or maybe to add any additional email address to the equation), but I've found it to be totally seamless. Mail comes in to gmail, gets fowarded to AOL, and then gets downloaded as new to whatever device you check with first. Whatever you do with that message will be synced across devices. And best of all, when you send from either the iphone for your mac, the outgoing message sends from gmail, not AOL.

    My iphone is set up to send mail from:
    465 being the port. I don't know remember if I added that or the iphone did, but it's worth a shot. Afraid I don't have any more advice for ya. :-/
  15. leetard thread starter macrumors newbie

    Nov 14, 2006
    I Ain't no computer jenyus

    I'm sorry I cannot troubleshoot this with everyone, mainly because I don't know how it works... it just does... for me anyways!
    I didn't even know what IMAP was before I set this up (if that gives you any idea!)
    I've triple check my settings and made sure they are accurately described in the OP.

    Thanks to the above poster for clarifying a few things for me!

    Again, this doesn't push mail. It solves a few problems that bothered me most:

    -Getting mail from myself in my inbox :mad:
    -Getting the same old, already read messages as new messages on my iphone :mad:
    -Having no synch ability :mad:

    I wish I could be more help, I just wanted to share what I found to have helped me.
  16. phungy macrumors 68020


    Dec 5, 2006
    Just tried your method and it worked beautifully :) Thanks!
  17. suneohair macrumors 68020


    Aug 27, 2006
    I don't want to mess with AOL. I am using my dreamhost account, which supports IMAP-IDLE. I get emails down to my iPhone without polling in under 3 minutes. I am going to see if I can get that a bit shorter. Today I got a new message in under a minute.

    My plan is to move all mail to my new email address. Since I plan on keeping my domain for the rest of my life, I figure why not. I like gmail, but I have definitely outgrown it. No IMAP is a killer really. My new solution once worked out will offer me low cost near-push IMAP. Hopefully Apple will tweak Mail so that the IMAP-IDLE works better.

    I setup Roundcube on my server so I have a nice webmail interface (read: I hate squirrelmail).
  18. martinmartin macrumors 6502

    Jun 5, 2007
    Thanks for the clarification.

    I'll just continue to wait - hopefully, they'll find a way to speed up the delivery process...

  19. Lartymarf macrumors regular

    Aug 11, 2007
    Holy sh*t... this works AWESOME!!!

    Wait hold on.. how come my mail is not coming through again... let me see...
  20. drewfus macrumors 6502


    Jul 3, 2006
    Evanston, IL
    I'm not sure what I'm doing wrong...I'm still getting all the mail that I've received and read on my computer as being new on the iPhone. Is this aol workaround supposed to fix that? Or did I misread?

    I followed all the instructions and have no problems sending mail at all, for what it's worth!
  21. thechidz macrumors 68000


    Jul 25, 2007
    New York City
    I havent had any problems with gmail on iphone:apple::eek::eek:
  22. QuarterSwede macrumors G3


    Oct 1, 2005
    Colorado Springs, CO
    I was going to say that when using my school's IMAP service as soon as the server got my mail it was synched to my mail app. I tested it myself, no delay.

    Also, couldn't you just forward your gmail to a yahoo account? I heard that yahoo mail can push.

Share This Page