This article provides information for setting up farmerswife server app to use AWS SES managed service for emails sending ("Allow Mail") functionality.
Configuration for new cloud tenants (with no custom sending domain)
Indicators of the issue:
- Client is hosted on the "new cloud" (aka. FarmersMarket) AWS infrastructure.
- Client doesn't have any specific requirements for email configuration (like their own/custom domain or self hosted SMTP server).
Step 1: Prepare fw server configuration values
- Use the following server.cfg setting (you can set these from the "Setup" configuration window via VNC).
MAIL_OK
MAIL_SERVER email-smtp.eu-west-1.amazonaws.com
MAIL_PORT 587
MAIL_USER AKIAQZJTGX66A5AJW6OY
MAIL_PASSWORD XXXXXX (look for "AWS SES SMTP" on Bitwarden or contact DevOps)
- In the "Setup" page --> "Force Send All Emails From:", put BunkerWIFE_info@cloud.farmerswife.com (technically can be any other address from @cloud.farmerswife.com domain):
- Make sure "Use TLS" option is selected (from the "hamburger menu" button above "Outgoing Mail Server (SMTP) section):
Step 2: Send test mail to yourself
Go to to "hamburger menu" button and click "Test". Put your email in "Send To" and click "OK". Email should arrive shortly.
If it doesn't work, select "MAIL DEBUG" and test again. Provide the output from log.txt to DevOps or Dev Team.