autoreply – Fatal error: Exception: Invalid addres

Home Forums Quform PHP autoreply – Fatal error: Exception: Invalid addres

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33228
    DigitalEssence
    Participant

    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 1549

    Form 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.
    #33231
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #33237
    DigitalEssence
    Participant

    Hi Ally,

    thanks, I’d stupidly missed that.

    That’s now working as expected.

    Thank you.

    Hedley

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy