I am unable to get emails to send from my production site, I used the check and log emails plugin and contact form 7 to try to send emails.
Here is the setup for my group_vars/all/mail.yml file
mail_smtp_server: smtp.mailgun.org:587
mail_admin: postmaster@mydomain.com
mail_hostname: mydomain.com
mail_user: postmaster@mydomain.com
mail_password: "{{ vault_mail_password }}" # Define this variable in group_vars/all/vault.yml
This is what the check log emails plugin is outputting as my mail settings.
Current mail settings:
- SendMail path (UNIX): /usr/sbin/ssmtp -t
- SMTP server (Windows): localhost
- SMTP port (Windows): 25
- Add X header: 0