SMTP Emails Not Working - No Errors

Hi! I’m not having success with email on Sharetribe. I’m running it in production mode on an Ubuntu EC2 instance on AWS (just serving with WEBrick for now).

I have set my mail delivery method to “smtp” in config.yml under production:

mail_delivery_method: smtp

I’ve setup SES on AWS, downloaded my credentials and configured my config.yml, but I get neither errors nor emails when I click “resend confirmation instructions”. The delayed jobs worker reports a successful send, but the SES monitoring dashboard shows no messages sent (and I don’t get the email).

This is (essentially) what my config looks like when I use SES:

smtp_email_address: "email-smtp.us-west-2.amazonaws.com"
smtp_email_port: 587
smtp_email_user_name: "my__aws_ses_username"
smtp_email_password: "my_aws_ses_password"
smtp_email_domain: "mydomain.com"

Also tried just using Gmail, but that gives the same result (no errors, no emails):

smtp_email_address: "smtp.gmail.com"
smtp_email_port: 587
smtp_email_user_name: "myemailaddress@gmail.com"
smtp_email_password: "mypassword"
smtp_email_domain: "gmail.com"

I’ve restarted my delayed jobs worker and server when making changes to the config, just to be safe.

I’ve read all the articles I can find on this forum about setting up SMTP, but nothing seems to help.

I’d appreciate any insight if you’ve got some!

@abpositive Any luck figuring this out? I’m facing a similar issue. I created test mail method and called it with deliver_now! which works and sends the email. This shows the smtp settings are correct. But the confirmation emails don’t get delivered.

I followed the email instructions here which uses “sendmail” . works like a charm

https://freedif.org/how-to-install-sharetribe-for-ubuntu-16-04

Make sure you this set in config.yml
mail_delivery_method: smtp