← Back to Modular Theme with PAGE BUILDER - Clear Support
The email is configured correctly but nonethless, this is the error generated "Address in mailbox given [] does not comply with RFC 2822, 3.6.22."
Swift_RfcComplianceException: Address in mailbox given [] does not comply with RFC 2822, 3.6.2. in /var/www/vhosts/xxx.xxx/httpdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php:355
Any ideas?
markmcglinn36173 said:
The email is configured correctly but nonethless, this is the error generated "Address in mailbox given [] does not comply with RFC 2822, 3.6.22."
Swift_RfcComplianceException: Address in mailbox given [] does not comply with RFC 2822, 3.6.2. in /var/www/vhosts/xxx.xxx/httpdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php:355
Any ideas?
Hello!
This error has nothing to do with the Clear Theme. Has to do with the email settings of Octobercms as well as the Contactme plugin. It can also be a matter of server settings.
You can also send a test email here:
https://test.ketikidis.com/contact
Hello Charis, It is fairly easy to check the email configuration with October CMS and this I have done. Test emails go out through the system without any difficulty. Not so, with either the Contact Form or the Newsletter linked with the theme itself, the error continues to present. As in the previous error I found, I will idenitfy it and let you know what I see.
Regards,
Mark
markmcglinn36173 said:
Hello Charis, It is fairly easy to check the email configuration with October CMS and this I have done. Test emails go out through the system without any difficulty. Not so, with either the Contact Form or the Newsletter linked with the theme itself, the error continues to present. As in the previous error I found, I will idenitfy it and let you know what I see.
Regards,
Mark
I'm glad is easy for you.
Ιf you use the contactme plugin component instead of the partial I use in the theme are you getting the same error?
Regarding the previous error you mention I have answered in your previous post.
Last updated
Hello Charis, Thank you for your help. I am assuming that your template is compatible with version 1 of October?
markmcglinn36173 said:
Hello Charis, Thank you for your help. I am assuming that your template is compatible with version 1 of October?
Hello!
All my themes are compatible with latest Octobercms 2.0 . I'm asking you if you try the ContactMe plugin component on theme to see if you get the same error.
Yes, I understand. The ContactMe plugin does not generate the same error. Can you have a look?
markmcglinn36173 said:
Yes, I understand. The ContactMe plugin does not generate the same error. Can you have a look?
Please submit a website and credentials so I can take a look when I have time.
The fully RFC 822 compliant regex is inefficient and obscure for validate email address because of its length. Fortunately, RFC 822 was superseded twice and the current specification for email addresses is RFC 5322. RFC 5322 leads to a regex that can be understood if studied for a few minutes and is efficient enough for actual use.
If you use HTML5, use this code:
<input type="email" name="email" required placeholder="Enter a valid email address">
1-10 of 10