# בעיית SMTP עם Amazon SES

**URL:** <https://meta.discourse.org/t/smtp-problem-with-amazon-ses/273575>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [2 באוגוסט,‏ 2023,‏ 12:37am UTC](https://meta.discourse.org/t/smtp-problem-with-amazon-ses/273575 "2023-08-02T00:37:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Alex\_王](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alex_%E7%8E%8B/32/318340_2.png) [@Alex\_王](https://meta.discourse.org/u/Alex_%E7%8E%8B)\
**Post date:** [2 באוגוסט,‏ 2023,‏ 12:37am UTC](https://meta.discourse.org/t/smtp-problem-with-amazon-ses/273575/1 "2023-08-02T00:37:30Z")

</div>

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

> [@Troubleshoot email on a new Discourse install](https://meta.discourse.org/t/troubleshoot-email-on-a-new-discourse-install/16326):
>
> You just installed Discourse via [the install guide](https://github.com/discourse/discourse/blob/main/docs/INSTALL.md), but email doesn’t seem to work. Unfortunately this means you can’t log in as an admin to finalize the install. cry Let’s troubleshootize! Try the doctor woman_health_workerIf 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  
 ![image](https://global.discourse-cdn.com/meta/original/4X/d/f/2/df2ab56fcfcee8a837b1fdc8f74e48c9be067971.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/5/c/b5c20c19f6bbeefbca9c375259aedc1664c32ba6.png)  
but my email ([wangziyu0917@gmail.com](mailto: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](https://docs.aws.amazon.com/ses/latest/dg/send-email-smtp-client-command-line.html)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/6/1/a/61a6bdf65769962d8ae71bf6fbcbff28ec5b2afd.png)

currently my AWS SES is in sandbox, but I verified my email([wangziyu0917@gmail.com](mailto:wangziyu0917@gmail.com))

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/a/8/7a8a249da0c82959891fe9729eb04953860d05b9.png)

HELP ME PLEASE 😭

---

_[View the full topic](https://meta.discourse.org/t/smtp-problem-with-amazon-ses/273575)._
