An extract of config.js for ghost (http://ghost.org) blog app (nodejs) to allow sending email via SES (over SSL). Note that this will fail if your website is not return-connectable by SES on your defined ghost URL i.e. your blog must be publicily available, not just runnnig on e.g. a private VM. If you're running under HTTPS then your SSL cert m…
mail: { | |
transport: 'SMTP', | |
host: 'ssl://email-smtp.us-east-1.amazonaws.com', | |
options: { | |
port: 465, | |
service: 'SES', | |
auth: { | |
user: 'YOUR-SES-ACCESS-KEY-ID', | |
pass: 'YOUR-SES-SECRET-ACCESS-KEY' | |
} | |
}, | |
}, |
This comment has been minimized.
This comment has been minimized.
brentwalter
commented
Jan 18, 2014
Thank you. It worked for me! |
This comment has been minimized.
This comment has been minimized.
nishantsny
commented
Dec 7, 2014
What to do if I have a self-signed certificate? Here is my current config
The mail to users on the same server(i.e on my institute server) goes through but for users on any other server, I get this error: Can't send mail - all recipients were rejected |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
gam-phon commentedOct 21, 2013
It works. Thank you