VB6 Telnet通过SSL连接发送电子邮件 [英] VB6 Telnet Send Email with SSL Connection

查看:326
本文介绍了VB6 Telnet通过SSL连接发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何连接到需要ssl连接的smtp服务器?
我正在使用vb6 winsock控件.
服务器(smtp.gmail.com)正在发送必须首先发送STARTTLS",而当我发送"STARTTLS"时,连接已丢失.
请帮助:))

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 :))

推荐答案

ear agent_suwastica,
我认为Gmail有两台服务器. smtp.gmail.com用于接收邮件服务器.但是前缀太多,例如STARTTLS.你必须谷歌所有的前缀.我给你一些可以在WINSOCK CONTROL中使用的东西----
1. PON
2. CON
3. TLS
4. EXT
5. LST
6. DIS
7. REC
----等等.
我认为CON用于连接,LST用于列表,Ext用于MIME扩展,REC用于接收,Dis用于显示.
谢谢....
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....


这篇关于VB6 Telnet通过SSL连接发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆