Open casey1701 opened 4 years ago
Try this instead:
{ "base_app_url": "http://myapp.com:3012", "email_from": "collector@myapp.com", "smtp_hostname": "smtp.sendgrid.net", "smtp_port": 25, "mail_options": { "secure": true, "auth": { "user": "apikey", "pass": "SG.mBpatWqNT6GXNQ0WUZPOGg.kgiPJv-CWrIJRmXXXXXXXXXXXXXXXXXXXXXXX" } },
Here's a bit of my config file. I can't get the server to start with the mail_options stuff in there. Where do I put mail_options? I'd just like to use sendgrid's smtp server. If I take out the whole mail_options part it works, but I get an authentication error from sendgrid (since I'm not supplying any login details).
{ "base_app_url": "http://myapp.com:3012", "email_from": "collector@myapp.com", "smtp_hostname": "smtp.sendgrid.net", "smtp_port": 25, "mail_options": { "secure", true, "auth": { user: "apikey", pass: "SG.mBpatWqNT6GXNQ0WUZPOGg.kgiPJv-CWrIJRmXXXXXXXXXXXXXXXXXXXXXXX" } },