Problem sending mails using smtp Problem sending mails using smtp
 

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

Problem sending mails using smtp

Started by vihuarar, August 21, 2016, 04:26:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vihuarar

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)

Αndré

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

vihuarar

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

Αndré

Coppermine uses PHPMailer 2.0.4. May be worth to try a recent version: https://github.com/PHPMailer/PHPMailer