XF 2.2 Not receiving messages from contact us form

zastavra

Active member
I'm not receiving any messages from contact us form. Is it a bug or just me?

Error:

Code:
Swift_TransportException: Email to ***@***.*** failed: Expected response code 250 but got code "554", with message "554 Message rejected: Email address is not verified. The following identities failed the check in region EU-WEST-1: =?utf-8?Q?=CE=9A=CF=8E=CF=83=CF=84=CE=B1=CF=82?= <***@gmail.com> " src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:457
Generated by: Unknown account Oct 30, 2020 at 9:00 AM
Stack trace
#0 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(341): Swift_Transport_AbstractSmtpTransport->assertResponseCode()
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php(305): Swift_Transport_AbstractSmtpTransport->executeCommand()
#2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(404): Swift_Transport_EsmtpTransport->executeCommand()
#3 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(500): Swift_Transport_AbstractSmtpTransport->streamMessage()
#4 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(516): Swift_Transport_AbstractSmtpTransport->doMailTransaction()
#5 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(206): Swift_Transport_AbstractSmtpTransport->sendTo()
#6 src/XF/Mail/Mailer.php(304): Swift_Transport_AbstractSmtpTransport->send()
#7 src/XF/Mail/Mail.php(404): XF\Mail\Mailer->send()
#8 src/XF/Service/Contact.php(195): XF\Mail\Mail->send()
#9 src/XF/Pub/Controller/Misc.php(84): XF\Service\Contact->send()
#10 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Misc->actionContact()
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#14 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#15 src/XF.php(465): XF\App->run()
#16 index.php(20): XF::runApp()
#17 {main}
 
Solution
This is a configuration issue, either with your SMTP server and its constraints or with a particular XF option.

First, you may need to actually verify the email address you're sending from in SES (presumably that's what you're using), if you haven't already. There should be an option within your SES account to handle that. (If not, you may need to reach out for them for support.)

The particular XF option that might be involved is "Sender info in from header on contact emails". If you have that enabled, you likely need to disable it. (It mentions not being compatible with all SMTP servers.)
I understand that you're experiencing a bug and it should be addressed if it is XF (it's running fine on my 2.2.1 install).

But, a tip: You should install this add on from @Xon so that you can get a contact form thread made as well so, apart from this bug, you can have a duplicate of the contact made in case the email gets lost in the sauce.
 
This is a configuration issue, either with your SMTP server and its constraints or with a particular XF option.

First, you may need to actually verify the email address you're sending from in SES (presumably that's what you're using), if you haven't already. There should be an option within your SES account to handle that. (If not, you may need to reach out for them for support.)

The particular XF option that might be involved is "Sender info in from header on contact emails". If you have that enabled, you likely need to disable it. (It mentions not being compatible with all SMTP servers.)
 
Solution
First, you may need to actually verify the email address you're sending from in SES (presumably that's what you're using), if you haven't already.
It's already verified.

The particular XF option that might be involved is "Sender info in from header on contact emails". If you have that enabled, you likely need to disable it. (It mentions not being compatible with all SMTP servers.)
This fixed the problem.

Thank you.
 
Top Bottom