Hello,
I have a bunch of forms on my site which I distribute with the custom action Email [GH].
Since yesterday I cannot submit any form anymore and get an error '0 Invalid address:'
In a testform I used the built-in mail function and that works just fine.
I have PHP ver. 5.6.19 enabled on the server.
Thanks in advance for your help
I have a bunch of forms on my site which I distribute with the custom action Email [GH].
Since yesterday I cannot submit any form anymore and get an error '0 Invalid address:'
In a testform I used the built-in mail function and that works just fine.
I have PHP ver. 5.6.19 enabled on the server.
Thanks in advance for your help
Hi kendulah,
Thanks for the heads up - I found the problem and a fix. The error seems to be caused by an empty Reply To Email address. The fix is to add a couple of lines to check for that. Around line 297 of look for this code:
I'll go and upgrade my master file now. . . . you can download an updated version here.
Bob
Thanks for the heads up - I found the problem and a fix. The error seems to be caused by an empty Reply To Email address. The fix is to add a couple of lines to check for that. Around line 297 of look for this code:
$mail->addReplyTo($replyto_email, $replyto_name);
and replace with this code: if ( !empty($replyto_email) ) {
$mail->addReplyTo($replyto_email, $replyto_name);
}
I'll go and upgrade my master file now. . . . you can download an updated version here.
Bob
This topic is locked and no more replies can be posted.