Alex_王
(Alex 王)
2 באוגוסט, 2023, 12:37am
1
I use AWS EC2 and AWS SES to host my discourse. However after trying half a day I cannot let the SMTP work.
I have follow the
You just installed Discourse via the install guide , but email doesn’t seem to work. Unfortunately this means you can’t log in as an admin to finalize the install. Let’s troubleshootize!
Try the doctor
If you run ./discourse-doctor it will check several ways that your mail configuration might be broken, and offer advice. Try that first.
Did you enter email settings correctly?
The simplest way is to run ./discourse-setup again. Did you enter everything correctly? B…
I got
but my email (
wangziyu0917@gmail.com ) cannot receive the verify email.
and the log sometimes says “Job exception: Net::SMTPAuthenticationError”
I dont know why I am sure the SMTP username and passwords are correct.
And I tried this:
Testing your connection to the Amazon SES SMTP interface using the command line - Amazon Simple Email Service
currently my AWS SES is in sandbox, but I verified my email(wangziyu0917@gmail.com )
HELP ME PLEASE
Lilly
(Lillian )
2 באוגוסט, 2023, 12:45am
2
you may want to have a look at these topics:
I’m having trouble moving from SendGrid to Amazon SES.
Could someone kindly share their settings from app.yml or confirm mine are correct?
## TODO: The SMTP mail server used to validate new accounts and send notifications
DISCOURSE_SMTP_ADDRESS: email-smtp.eu-west-2.amazonaws.com
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: xxxxxxx
DISCOURSE_SMTP_PASSWORD: "xxxxxxxxxx"
DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
DISCOURSE_SMTP_AUTHENTICATION: …
I’ve configured Amazon SES.
I’m out of the sandbox, which means I can send emails to unverified addresses.
From Amazon SES doc :
When your account is out of the sandbox, you can send email to any recipient, regardless of whether the recipient’s address or domain is verified. However, you still have to verify all identities that you use as “From”, “Source”, “Sender”, or “Return-Path” addresses…
I’ve also configured my SMTP credentials.
Sending a test email to an unverified recipient email w…
Alex_王
(Alex 王)
2 באוגוסט, 2023, 12:49am
3
This is the latest log when I attempt to register
Alex_王
(Alex 王)
2 באוגוסט, 2023, 12:50am
4
THANKS but I have check these, I dont think these can help
Alex_王
(Alex 王)
2 באוגוסט, 2023, 12:59am
5
OMG I solved it, I need to add my domain (www.aoxodo.com ) to the ses, cause it is using this domain to send email