Hi all, I have writen a Email client, and have added SSL on it. Now I can download email from Gmail through POP3 over SSL successfully, but there are some problems when sending email through SMTP on SSL: GMAIL smtp server's response indicated email had been sent successfully but in fact, it could not be received. GMAIL SMTP has two ports available: 465 and 587. First, I tryto connect to: smtp.gmail.com:465 over SSL, GMAIL SMTP server response just PLAIN AUTH, after plain AUTH, I can send mail successsfully. But the recipient can not receive the email. Later I checked GMAIL'S HELP, it said: if your client does not support SMTP auth, the mail may be not received. Then I try another port 587. When connecting to:smtp.gmail.com:587, GMAIL SMTP server responses STARTTLS is need. Following the server's response, I start TLS when authenticate. And GMAIL smtp server's response indicated email had been sent successfully again. But unfortunately recipient still can not receive the email. So if anyone can explain that why I can not send email through GMAIL SMTP? Thanks!