Home › Forums › Quform PHP › autoreply – Fatal error: Exception: Invalid addres
- This topic has 2 replies, 2 voices, and was last updated 3 years, 3 months ago by DigitalEssence.
- AuthorPosts
- August 4, 2021 at 2:30 pm #33228DigitalEssenceParticipant
Hi,
If I enable autoreply in process.php by changing
$config[‘autoreply’] = false;
to
$config[‘autoreply’] = true;
and then submit the form I get the following error:
Fatal error: Uncaught PHPMailer\PHPMailer\Exception: Invalid address: (From): root@localhost in /home/USER/public_html/quform/vendor/phpmailer/phpmailer/src/PHPMailer.php:1549
Stack trace:
#0 /home/USER/public_html/quform/vendor/phpmailer/phpmailer/src/PHPMailer.php(1467): PHPMailer\PHPMailer\PHPMailer->preSend()
#1 /home/USER/public_html/quform/process.php(424): PHPMailer\PHPMailer\PHPMailer->send()
#2 /home/USER/public_html/quform/process.php(445): process(Object(Quform), Array)
#3 {main}
thrown in /home/USER/public_html/quform/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 1549Form is available here: https://shockwave.scot/form.html
Although to allow the customer to have a working form, I have disabled the autoreply
Attachments:
You must be logged in to view attached files.August 6, 2021 at 10:19 am #33231AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 10, 2021 at 11:01 am #33237DigitalEssenceParticipantHi Ally,
thanks, I’d stupidly missed that.
That’s now working as expected.
Thank you.
Hedley
- This reply was modified 3 years, 3 months ago by DigitalEssence.
- AuthorPosts
- You must be logged in to reply to this topic.