iT邦幫忙

0

如何用phpmailer透過gmail發信

http://blog.e-happy.com.tw/?p=7747
我是參考這的
按照他的方式後仍是不可透過gamil發信...
但是我透過我虛擬空間提供的mail服務帳號是可以寄信的(就是可以用自己的網域申請email....

The following From address failed: ----@gmail.com : Called Mail() without being connected

確定gmail帳號密碼是對的 port也改465、ssl、host是smtp.gmail.com

火爆浪子 iT邦研究生 1 級 ‧ 2016-11-23 16:02:55 檢舉
SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
The following From address failed: ***@gmail.com : Called Mail() without being connected Mailer Error: The following From address failed: ***@gmail.com : Called Mail() without being connected
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

0
鄭小安
iT邦新手 5 級 ‧ 2016-11-26 03:00:29
最佳解答

如果你所有方法都試了,你改gmail密碼試試,
我以前遇過這樣的狀況,搞很久,我記得查到最後是Gmail密碼安全性不足,
重新設定密碼,高強度的密碼,試試

火爆浪子 iT邦研究生 1 級 ‧ 2016-11-29 12:08:08 檢舉

結果是我的伺服器不給用其他的網頁伺服器

火爆浪子 iT邦研究生 1 級 ‧ 2016-11-29 12:08:19 檢舉

郵件*

WilliamHuang
iT邦研究生 1 級 ‧ 2016-11-23 15:44:19
【**此則訊息已被站方移除**】

我要發表回答

立即登入回答