Problem sending mails using smtp Problem sending mails using smtp
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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