Gmail as SMTP Server? Gmail as SMTP Server?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Gmail as SMTP Server?

Started by longcannon, December 31, 2008, 10:12:24 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

longcannon

I can use Gmail as SMTP server to send emails for verification purpose in vBulletine, BBPHP forum and Gallery2 (need some modification in Gallery2)
All you need is a Gmail account and OpenSSL enabled in PHP as Gmail SMTP server need SSL security connection and at port 465.
However, this seems NOT possible in Coppermine.
Can anyone had MOD method to enable Gmail SMTP in Coppermine?
Or would this function be available in the next version of Coppermine?

Thanks.

Nibbler

Replace your copy of include/mailer.inc.php with the attached version. Then set the SMTP server to ssl://smtp.gmail.com:465 in Coppermine config.

Please report back.

longcannon

Dear Nibbler,

It works well.

Good Job! Thanks a lot.


DugDog

Hello,

I followed the instruction for using Gmail listed above.  I have Gmail working with PHPBB and the instructions are very similar.

I have upgraded to the newest version of Coppermine 1.4.20 (stable).  I tried the attachment file (mailer.inc.php) in this thread and still no luck...since the file in this thread didn't work, I changed it back to 1.4.20 (stable)...the look very similar, and they both list 1.4.20 (stable) in the comments.

Is there a log file that records email actions?  I tried to log all activity, and it doesn't seem to log email activity.

I have this CM running on my LAN, running XP Pro with WAMP 2.  All functions of CM work fine except for the email function.  On the same Server, I tried using Outlook Express with the same Gmail settings...it works fine.  The reason I tested Outlook express is I wanted to take another application besides CM and verify email works.

Anyone have any ideas for running CM on a Windows XP box and using any other email options besides gmail?

Thanks,

DD

Joachim Müller

Quote from: DugDog on February 13, 2009, 05:04:29 AM
On the same Server, I tried using Outlook Express with the same Gmail settings...it works fine. 
Outlook is an email client, not a server, so this simply doesn't apply. You need a SMTP server on your setup or you need someone to relay for you. Self -hosting is not recommended at all. We can not advice you on webhosting issues, that's beyond the scope of this board.

Nibbler

You can enbale debug in that file.


var $SMTPDebug    = false;


Change to true. It will just display the debug messages on the page.

dgitan

Hello, I have the same trouble.
I change the mailer.inc.php with the new one, and I set the ssl://gmail server.
I put the debug to true, and I receive this error :
SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
I try to change the timout value, without success.

Any idea ??

Thanks

Joachim Müller

You already have a thread of your own - no need to try to hijack another one.