gmail and leave messages on server iPhone 3g

I have an iphone 3g connect to my gmail account.  If my phone downloads an e-mail it's pulled off of the g-mail server.  I know it was possible to leave them on the server although I can no longer find the setting.  

Any ideas?

JOe K.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You should use imap instead of pop3. Imap leaves all the messages (except the messages you delete), pop3 delete all the downloaded messages.
I love the pushmail feature when you set gmail to synchonize like this:
That wiill leave them on the server, unless you delete the messages, and sychonize read vs unread.

If you want to use POP and leave messages do this:
On the phone go to Settings>Mail>Your account > advanced > delete from  server > never
Sorry, you need to also do this within the Gmail settings. Log into Gmail Go to Settings > Forwarding IMAP & POP > select When messages are accessed with POP Leave in Inbox
ClaudeWalkerAuthor Commented:
For my GMail I have:

IMAP Access Enabled

POP (nothing select out of enable for all mail, enable from this point forward, or disabled)

Should I enable POP for all mail?

Because this "On the phone go to Settings>Mail>Your account > advanced > delete from  server > never"  setting is not available.

I assumed you were using POP, as IMAP syncronizes with your device. Sounds like that is not the case. To be honest now I'm not sure what the problem is. Do the mssages stay in your Google All Mail folder? Using imap in google deleting from the inbox usually just removes the Inbox "label" and puts it in all mail

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.