This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

Error on submitting form


  1. mbs14a
    Member

    Getting the following error message when submitting form. Using 4.3 with the new recaptcha.

    Fatal error: Uncaught exception 'Swift_RfcComplianceException' with message 'Address in mailbox given [{element_4}] does not comply with RFC 2822, 3.6.2.' in /home/mforms/public_html/forms/lib/swift-mailer/classes/Swift/Mime/Headers/MailboxHeader.php:352 Stack trace: #0 /home/mforms/public_html/forms/lib/swift-mailer/classes/Swift/Mime/Headers/MailboxHeader.php(264): Swift_Mime_Headers_MailboxHeader->_assertValidAddress('{element_4}') #1 /home/mforms/public_html/forms/lib/swift-mailer/classes/Swift/Mime/Headers/MailboxHeader.php(108): Swift_Mime_Headers_MailboxHeader->normalizeMailboxes(Array) #2 /home/mforms/public_html/forms/lib/swift-mailer/classes/Swift/Mime/Headers/MailboxHeader.php(65): Swift_Mime_Headers_MailboxHeader->setNameAddresses(Array) #3 /home/mforms/public_html/forms/lib/swift-mailer/classes/Swift/Mime/SimpleHeaderFactory.php(60): Swift_Mime_Headers_MailboxHeader->setFieldBodyModel(Array) #4 /home/mforms/public_html/forms/lib/swift-mailer/classes/Swift/Mime/SimpleHeaderSet.php(70): Swift_Mime_SimpleHeaderF in /home/mforms/public_html/forms/lib/swift-mailer/classes/Swift/Mime/Headers/MailboxHeader.php on line 352

    Posted 9 years ago #
  2. mbs14a
    Member

    Bump. 1 week for a response ?

    Posted 9 years ago #
  3. AMurray
    Pro Member

    Urgent requests should be sent to Appnitro directly - http://www.appnitro.com/contact, they may not monitor the forum full time.

    Did you select "Turn on Spam Protection "CAPTCHA" then select ReCpatcha - V2. Additionally you need to insert your Site and Secret keys (these replace the original Recaptcha Public and Private keys). They need to be input into the Settings / Advanced Options section (not in the configuration.php file).

    Does this error occur with the "Simple" captcha - either option that is not the Google Recaptcha's?

    Posted 9 years ago #
  4. mbs14a
    Member

    The form failed regardless of settings. Other forms on same install were working. Deleted the form completely and rebuilt from scratch which then worked. Not sure what went wrong but problem resolved itself.

    Posted 9 years ago #

RSS feed for this topic

Reply