Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
"530 5.7.0 Must issue a STARTTLS command first. sw4sm3689198pbc.64 - gsmtp"

im getting error like this

smpt server="gmail-smtp-in.l.Google.com";
port=487;
Posted
Comments
phil.o 6-Apr-15 4:32am    
You may have to show the real snippet of code from which you get this response from the server to get a meaningful answer.
phil.o 6-Apr-15 4:40am    
Please delete this comment and post its content in your question (use the "Improve question" button). Comments are not meant to hold code fragments.
Prasanna Pachi 6-Apr-15 4:53am    
ok.... can u give solution for this...?
[no name] 6-Apr-15 4:56am    
Check this TcpClient tClient = new TcpClient("gmail-smtp-in.l.google.com", 25);
Prasanna Pachi 6-Apr-15 4:59am    
That one also i tried it showing connection timeout error

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900