I have a real big problem....
I install the new version of CPG without any trouble . All works perfectly execpt the mail function.
I try everything ( sendmail, mail , SMTP , gmail as SMTP ) and nothing work.
I receive all the time the message ( with SMTP ) : SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
with mail or sendmail no error message, but I receive nothing.
I check my hosting server with this code :
############### Code
<?
// ---------------- SEND MAIL FORM ----------------
// send e-mail to ...
$to="fake@mail.ch";
// Your subject
$subject="Test";
// From
$header="from: christophe <fake@mail.com>";
// Your message
$message="Hello \r\n";
$message.="This is test\r\n";
$message.="Test again ";
// send email
$sentmail = mail($to,$subject,$message,$header);
// if your email succesfully sent
if($sentmail){
echo "Email Has Been Sent .";
}
else {
echo "Cannot Send Email ";
}
?>
And this code works.
Maybe you can help me, I hope
And you waited 3 minutes before quoting yourself?? Grow some patience.
** Deleted obsolete second post and edited email adres for user.
No sorry, I try to delete my message, because I leave my personnal email. And no possibilities to do that....
I put the version of the mailer.inc.php from v 1.4.19 instead of the new version, and now all works perfectly.
:)
That's not a good idea. There's a reason why mailer.inc.php was changed from cpg1.4.19 to cpg1.4.20...
Quote from: dgitan on February 14, 2009, 08:49:41 AM
I put the version of the mailer.inc.php from v 1.4.19 instead of the new version, and now all works perfectly.
:)
Could you please send me a link, I can download v 1.4.19? I can find only 1.4.20. I have similar problem, however, the registration email works fine, but I can not send eCard.
Do not use cpg1.4.19 - as I said above: there are reasons why it was modified. That's why we won't promote the outdated version by posting a link to it.
I run Coppermine Photo Gallery 1.4.21 (stable) and have the same problem, everything works exept email notification (on comments) does not work.
Is there a way to test it? A log where i can see where is the error?
Sincerely
sk8connection
Locking...