You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
Unable to send mail via SMTP due to sender address not matching user
Deployment has gone well, love the forms but can't get emails to be delivered. Looking in the logs it seems that my hosting provider doesn't like the "+" notation that OpnForm is using.
opnform-api-worker-1 | [2024-09-10 10:45:56] local.ERROR: Expected response code "250" but got code "550", with message "550 5.7.1 [M12] User [noreply@domain] not authorized to send on behalf of <noreply+1725965155@domain> (369aafe9-6f61-11ef-bd51-4d7e77a32f34)". {"exception":"[object] (Symfony\\Component\\Mailer\\Exception\\UnexpectedResponseException(code: 550): Expected response code \"250\" but got code \"550\", with message \"550 5.7.1 [M12] User [noreply@domain] not authorized to send on behalf of <noreply+1725965155@domain> (369aafe9-6f61-11ef-bd51-4d7e77a32f34)\". at /usr/share/nginx/html/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php:333)
Relevant env:
MAIL_MAILER=smtp
MAIL_HOST=smtpserver
MAIL_PORT=465
MAIL_USERNAME=noreply@domain
MAIL_PASSWORD=password
MAIL_ENCRYPTION=TLS
MAIL_FROM_ADDRESS=noreply@domain
MAIL_FROM_NAME="Me me me"
As you can see I am not using this "+" notation anywhere, so I am unsure where this noreply+1725965155@domain address is coming from. Is there a way that is can just use noreply@domain ?
Deployment Environment
docker-compose
Any help would be appreciated!
The text was updated successfully, but these errors were encountered:
The + that's being added is used to avoid OpnForm notifications to all be put in the same mail thread by mail clients. We could add an option to disable this behavior later but currently there isn't one unfortunately
Describe the issue
Unable to send mail via SMTP due to sender address not matching user
Deployment has gone well, love the forms but can't get emails to be delivered. Looking in the logs it seems that my hosting provider doesn't like the "+" notation that OpnForm is using.
opnform-api-worker-1 | [2024-09-10 10:45:56] local.ERROR: Expected response code "250" but got code "550", with message "550 5.7.1 [M12] User [noreply@domain] not authorized to send on behalf of <noreply+1725965155@domain> (369aafe9-6f61-11ef-bd51-4d7e77a32f34)". {"exception":"[object] (Symfony\\Component\\Mailer\\Exception\\UnexpectedResponseException(code: 550): Expected response code \"250\" but got code \"550\", with message \"550 5.7.1 [M12] User [noreply@domain] not authorized to send on behalf of <noreply+1725965155@domain> (369aafe9-6f61-11ef-bd51-4d7e77a32f34)\". at /usr/share/nginx/html/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php:333)
Relevant env:
As you can see I am not using this "+" notation anywhere, so I am unsure where this noreply+1725965155@domain address is coming from. Is there a way that is can just use noreply@domain ?
Deployment Environment
docker-compose
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: