Pages: [1]   Go Down
Send this topic | Print
Author Topic: HOW TO: Use a Gmail account with PunBB's SMTP  (Read 1415 times)
soren121
I eat lots of those
Advanced Authority Member
*****
Offline Offline

Posts: 1476


I shall stare you down with mah kitteh powahs!


WWW
« on: June 23, 2007, 10:08:34 PM »

I know there are plenty of you out there who use PunBB, and more that use Gmail, so here you go: Gmail with PunBB.

1. Open up the email.php file, located in the /include folder in your PunBB install.

2. Find this line of code:
Quote
if (!($socket = fsockopen($smtp_host, $smtp_port, $errno, $errstr, 15)))

3. Replace it with this:
Quote
if (!($socket = fsockopen('ssl://'.$smtp_host, $smtp_port, $errno, $errstr, 15)))

4. Save the email.php file and upload it.

5. Enter your PunBB admin panel, and go to the Options page.

6. Scroll down to the part where it asks you for SMTP info.
Copy the following into the boxes:


7. Done! Just remember to enable SMTP and turn on E-mail Confirmation.  smiley
« Last Edit: June 23, 2007, 10:10:23 PM by soren121 » Logged

LightBlog Developer -- Fueled by Linkin Park, Sprite, and LOLCats
Pages: [1]   Go Up
Send this topic | Print
Jump to: