Gmail帮助里写:SMTP 服务器必须设置为使用 SSL (Outlook) 或 TLS (Thunderbird)。
http://mail.google.com/support/bin/answer.py?hl=cn&answer=44793当然gmail里没有涉及php使用smtp端口的情况。
PHP手册中fsockopen函数中写道:As of PHP 4.3.0, if you have compiled in OpenSSL support, you may prefix the hostname with either 'ssl://' or 'tls://' to use an SSL or TLS client connection over TCP/IP to connect to the remote host.
110端口的非加密连接我试过了,貌似不可以,哈管可否短消息和我分享一下你使用普通SMTP写法?感激不尽。