Email testing: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "PHP errors" to "Troubleshooting of PHP errors")
 
Line 9: Line 9:


== For role: web developers ==
== For role: web developers ==
* [[PHP errors#錯誤訊息: SMTP Error: Could not connect to SMTP host.]]
* [[Troubleshooting of PHP errors#錯誤訊息: SMTP Error: Could not connect to SMTP host.]]


== For role: system administrator ==
== For role: system administrator ==

Latest revision as of 20:43, 1 February 2019

Testing

For role: users[edit]

Using the following e-mail service with name alias or alternative name


For role: web developers[edit]

For role: system administrator[edit]

If you have the telnet permission,

是否可以連線到 SMTP 主機nslookup smtp.gmail.comtelnet smtp.gmail.com port (例子中以 gmail 作為 smtp 伺服器) telnet smtp.gmail.com 465 預期結果:

Trying 74.125.129.109...
Connected to smtp.gmail.com.
Escape character is '^]'.
^] //註:(Windows) 輸入 ctrl + ] 兩個按鍵,(Mac) 輸入 control + ] 兩個按鍵
telnet> quit
Connection closed.

非預期結果:請調整防火牆設定

Trying x.x.x.x...
telnet: connect to address x.x.x.x: Connection refused

參考資料[edit]