Hi,
I am getting the follow traceback after try to send an email from a custom trigger, using 5.6 and AWS SES
Jan 18 16:42:10 localhost uwsgi[611]: 28501 140337916364544 [2021-01-18 22:42:10,932] ERROR trytond.sendmail fail to send email
Jan 18 16:42:10 localhost uwsgi[611]: Traceback (most recent call last):
Jan 18 16:42:10 localhost uwsgi[611]: File "/opt/capy/lib/python3.7/site-packages/trytond/sendmail.py", line 39, in sendmail
Jan 18 16:42:10 localhost uwsgi[611]: senderrs = server.sendmail(from_addr, to_addrs, msg.as_string())
Jan 18 16:42:10 localhost uwsgi[611]: File "/usr/lib/python3.7/smtplib.py", line 888, in sendmail
Jan 18 16:42:10 localhost uwsgi[611]: raise SMTPDataError(code, resp)
Jan 18 16:42:10 localhost uwsgi[611]: smtplib.SMTPDataError: (554, b"Transaction failed: Missing final '@domain'")
The tryton config line to email is
uri = smtp+tls://tryton@example.net:1234@smtp.example.net:587
I tried the follow command
trytond-admin --test-email <email>@gmail.com -c tr.conf -d capybaradb | grep -v INFO
And received
Success!
** Your email settings work correctly.**
Any help will be welcome!