- Beiträge: 36
- Dank erhalten: 2
Email Issues - Add new User Emails Fail
We are using the SMTP relayed Via AWS SES service. We have a survey setup with tokens and the emails work perfectly without error.
However, When we create a new admin user the email to notify them of their password fails with the following.
2020-02-19 12:43:20 CLIENT -> SERVER: QUIT
Email to field_admin (marc@*********.co.uk) failed.
But there is nothing in the Server Logs.
Limesurvey Version 3.22.3+200211
Plesk Onyx Server PHP 7.3.14
- Beiträge: 8885
- Karma: 621
- Dank erhalten: 2770
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
No they are not, but this is correct.
the default admin email is the correct one as setup in AWS as an authorised sender.
The SMTP username is a 16 Char Alpha name as supplied from AWS ie:
The setting work perfectly for sending survey token emails. Just not for adding new users.
The CLIENT -> SERVER: QUIT is not informative enough. You would need the complete handling LOG.
How old is the SES-Account?
I have checked the log files, and there is nothing there at all, but i'm guessing this is correct as LS is relaying via SMTP.
SES is very strict with authentication - its almost as though Token emails are using the details as set: but Admin emails are not.
What logfiles. You can only see the communication between the SMTP server and LimeSurvey when you activate the debug options in the Mail settings of LimeSurvey.
marcgold schrieb: I have checked the log files, and there is nothing there at all, but i'm guessing this is correct as LS is relaying via SMTP.
SMTP debug mode - It comes with three options:
Off (default value): The user wants this activated only in the case in which the SMTP relay does not work and further details are needed in order remedy the technical problem
On errors : A detailed connection log and error message will be given if an error occurs
Always : It gives valuable information on how a SMTP relay works. If an error occurs, further details are provided
Personnally I doubt that the adminuser email sending part is checked/debugged as good as the token sending part. Perhaps the emails for users are not send via SMTP at all.
Thanks for everyone ideas.
So the cause was the bounce email address - this was a different email address so they can be auto processed.
If anyone is using AWS SES (or similar services that need emails verified) then you must verify all email address that will appear in the mail header.
Ie: From , Return & Bounce.
Hope this thread helps someone else in the future.
Since you solved the issue, you might explain why you can send token emails, but no user emails via the same mail-configuration settings?
marcgold schrieb: So the cause was the bounce email address - this was a different email address so they can be auto processed.
The reason that token emails worked was the bounce email address was set as the sender address but the general configuration email system one was different.
At a survey level you have the option to override the system set values.