GMail – send ports

Many clients will automatically configure the appropriate IMAP connection settings for your account, but confirm that the connection settings your client configures are the same as what’s listed below.

If you’re using a client that’s not listed above, you can also use the following information to configure your IMAP. If you have problems, contact your mail client’s customer support department for further instructions.

Incoming Mail (IMAP) Server – Requires SSL
imap.gmail.com
Port: 993
Requires SSL:Yes
Outgoing Mail (SMTP) Server – Requires TLS
smtp.gmail.com
Port: 465 or 587
Requires SSL: Yes
Requires authentication: Yes
Use same settings as incoming mail server
Full Name or Display Name: [your name]
Account Name or User Name: your full Gmail address ([email protected]). Google Apps users, please enter [email protected]_domain.com
Email address: your full Gmail address ([email protected]) Google Apps users, please enter [email protected]_domain.com
Password: your Gmail password

If you tried configuring your SMTP server on port 465 (with SSL) and port 587 (with TLS), but are still having trouble sending mail, try configuring your SMTP to use port 25 (with SSL).