If your server is being hosted in the cloud by farmerswife, please identify and send the following to email@example.com
- Outgoing Mail Server - This is generally the SMTP address / IP of the outgoing mail server
- Outgoing Port Number - The port number tied to the Outgoing Mail Server
- Email address to send mails from - You may want to have an account to use solely for this purpose - e.g. firstname.lastname@example.org
- Username & Password - This will be for the email account the farmerswife server will connect to, and send outgoing emails from
⚠️ When using Gmail, you might need to generate an App Password and for this special Google generated password to work, your farmerswife system needs to be running on v6.8. ⚠️
For Self-Hosted servers
If your server is being hosted within your organization, and not by farmerswife, please follow the below to set up your Outgoing Mail.
Set Allow Mail to Yes.
Outgoing Mail Address: Define the IP address of the email (SMTP) Server (check your local email application).
Some SMTP Servers have anti-spamming countermeasures implemented, which require ‘HELO handshaking’ from a fully qualified domain name or IP address before they send out an email.
To set the domain or IP address, click the drop-down arrow and select the Set "HELO" String.
Define the domain or IP address as required by your Internet Service Provider.
- Set the Port: Define the port number for outgoing email (default is 25).
This port is used to specify the connection to your own separate (local or remote) mail server (SMTP) for “outgoing emails”.
This port and its related settings are used by the WIFE Server to authenticate and send emails. This is not a ‘listening’ port of the WIFE Server.
Define the User Name and Password. ⚠️ When using Gmail, please generate an App Password. ⚠️ For the WIFE Server to be allowed to send emails using YOUR outgoing mail server, you most likely have to use the authentication credentials of an existing email account.
Consider creating an email account for the WIFE Server, for example, "fw_info_dont_reply@MyCompany.ex". And this email account then will need to have a password set, e.g. 123456. Using these examples you then need to populate these fields in the following way:
User Name: fw_info_dont_reply@MyCompany.ex
Test the SMTP service by selecting Test (through the drop-down menu). By default this test will be sent to the email entered in the System Administrator Mail Address field (see next step). If not set yet, it can be typed into the pop upwindow.
Set the System Administrator Mail Address: this email address will receive server related email notifications, such as license expiry reminder.
Set the Daily Mail “From” Address: this address will be used as the sender email address of the Daily Email Sendout.
- The Force Send All Emails From Address overrides the Daily Mail “From” Address, and various other hard-coded sender email addresses throughout farmerswife.
This setting was introduced due to the fact that traditionally farmerswife has used a mix of email addresses in the "From" header of the emails that it sends.
In some cases it has been the "System Administrator” address, in others it has been hard-coded addresses such as "bookings@(domain)", "reminder@(domain)", etc. This used to work ok but in recent years the war against spam has led to SMTP servers rejecting emails if they don't come from the expected sender (typically when combined with SMTP authentication).
If an email address is entered in the ”Force Send All Emails From”, it will override all other "From" addresses.
If it is left blank, it will behave as before.