Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Gmail as SMTP Server?  (Read 17556 times)

0 Members and 1 Guest are viewing this topic.

longcannon

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Gmail as SMTP Server?
« on: December 31, 2008, 10:12:24 am »

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.
Logged

Nibbler

  • Guest
Re: Gmail as SMTP Server?
« Reply #1 on: December 31, 2008, 04:04:13 pm »

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.
Logged

longcannon

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Gmail as SMTP Server?
« Reply #2 on: January 01, 2009, 02:25:13 pm »

Dear Nibbler,

It works well.

Good Job! Thanks a lot.

Logged

DugDog

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Gmail as SMTP Server?
« Reply #3 on: February 13, 2009, 05:04:29 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Gmail as SMTP Server?
« Reply #4 on: February 13, 2009, 09:03:27 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.
Logged

Nibbler

  • Guest
Re: Gmail as SMTP Server?
« Reply #5 on: February 13, 2009, 12:16:21 pm »

You can enbale debug in that file.

Code: [Select]
var $SMTPDebug    = false;

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

dgitan

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Gmail as SMTP Server?
« Reply #6 on: February 13, 2009, 01:35:15 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Gmail as SMTP Server?
« Reply #7 on: February 17, 2009, 09:14:02 am »

You already have a thread of your own - no need to try to hijack another one.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.