Click here to Skip to main content
15,887,898 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to connect to smtp server that requires ssl connection ?
I am using vb6 winsock control.
The server(smtp.gmail.com) is sending a "Must issue STARTTLS first" and when I Send "STARTTLS", the connection was lost.
Please help :))
Posted
Updated 5-Mar-12 23:51pm
v2

1 solution

ear agent_suwastica,
Gmail has two servers,I think so. smtp.gmail.com is for incomming mail server.But there are too much prefixes like STARTTLS. You have to google all the prefixes. I give you some of this that can be use in WINSOCK CONTROL ----
1. PON
2. CON
3. TLS
4. EXT
5. LST
6. DIS
7. REC
---- and so on.
CON for connection, LST for List, Ext for MIME Extension, REC for receive, Dis for Display I think.
Thanks....
 
Share this answer
 
Comments
agent_suwastica 8-Mar-12 20:18pm    
How can I do that with winsock control ?
Can you give some example ?
Thanks :))

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