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: Problem sending mails using smtp  (Read 11904 times)

0 Members and 1 Guest are viewing this topic.

vihuarar

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Problem sending mails using smtp
« on: August 21, 2016, 04:26:16 pm »

Hi...
I have problems setting the mail function... for example to send an email if a users forget his password...

I have a microsoft exchange server...

In this moment, in the coppermine configuration... I can specify this information:

  • smtp host:
    smtp username
    smtp password
But I'm not able to set this configuration.. That I have configured in other applications (and email work) for example in joomla (I attach an image with the configuration)
smtp security
  • smtp authentication (SSL/TLS, STARTLS or none)
    smtp port (I need to specify the port, maybe this is not working because coppermine is working by default under another port)
    from name (this is opcional, it should be nice to set this funtion...
    from email (This is important, because we have a rule in our mail server... that the "from email" have to be the same that the username of the smtp account)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Problem sending mails using smtp
« Reply #1 on: August 22, 2016, 08:15:52 pm »

Coppermine uses the PHPMailer class to send emails. Open include/mailer.inc.php, find
Code: [Select]
var $Port        = 25;and try if it works if you edit that port manually.
Logged

vihuarar

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Problem sending mails using smtp
« Reply #2 on: September 01, 2016, 09:50:20 pm »

Still not working... i tried to edit the parameters... and set true the SMTPDebug parameter...

And still nothing...

Nothing in the log file too... I dont know how to configured that...
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Problem sending mails using smtp
« Reply #3 on: September 02, 2016, 09:47:39 am »

Coppermine uses PHPMailer 2.0.4. May be worth to try a recent version: https://github.com/PHPMailer/PHPMailer
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.