Jump to content


* * * * *
Photo

SMTP via GMail


IP.Board is able to use Gmail's SMTP service, if your server is configured properly.

The first thing to check is whether your server is configured to allow it. Gmail SMTP uses a secured connection, so your PHP installation must have OpenSSL capabilities. To check this, go to ACP->Support->System Overview->PHP Info

Scroll down the screen, you will see the installed modules, each under its own header, such as mbstring, mcrypt, mysql, mysqli and so on. You're looking for OpenSSL there in its own heading. Should look something like this..

openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8b 04 May 2006


Thought it will be formatted nicely in a table. Versions may be different, but so long as that is there, you will likely be able to use Gmail's SMTP.

Go to ACP->System Settings->Email Setup, or in IP.Board 2.x, ACP->Tools and Settings->Email Setup.

Set "Mail Delivery Method" to SMTP
Set "Over-Ride SMTP Host" to tls://smtp.gmail.com
Set "Over-Ride SMTP Port" to 465
Set "Add '<' and '>' to 'to' and 'from' addresses?" to Yes

*Note that Gmail requires SMTP port 587 for TLS/STARTTLS and port 465 for SSL.  More information is available in their documentation.

Enter your Gmail username and password in the appropriate boxes.

You should now be using Gmail SMTP to send mail on your forum. Run a test, such as registering a new account (assuming you have Email Validation) and verify that you receive the email.



0 Comments


Developer Docs · Error Codes