Email: Difference between revisions

add info about using PHPMailer in conjunction with Google's SMTP server
No edit summary
Line 15: Line 15:
telnet smtp.gmail.com 25
telnet smtp.gmail.com 25
# then  
# then  
^] # get a telnet prompt
^] # get a telnet prompt with the Ctrl key plus right square bracket key
quit [enter]
quit [enter]
</source>
</source>
So a successful test ends up looking like this:
<pre>
$ telnet smtp.gmail.com 25
Trying 2607:f8b0:400d:c03::6d...
Trying 64.233.171.108...
Connected to smtp.gmail.com.
Escape character is '^]'.
220 mx.google.com ESMTP b16sm2116075qga.48 - gsmtp
^]
telnet> quit
Connection closed.
</pre>


Check your server IP with a tool like http://mxtoolbox.com/blacklists.aspx
Check your server IP with a tool like http://mxtoolbox.com/blacklists.aspx