Настройки Gmail IMAP
Gmail IMAP/SMTP Settings:
Incoming Mail (IMAP) Server: imap.gmail.com
Requires SSL: Yes
Port: 993
Outgoing Mail (SMTP) Server: smtp.gmail.com
Requires SSL: Yes
Requires TLS: Yes (if available)
Requires Authentication: Yes
Port for SSL: 465
Port for TLS/STARTTLS: 587
KostasX