How to Send Emails Using Your Own Domain
There are cases in which an organization wants to send the e-mails from their own domain and use one of their mail accounts.
The new Mail API integration we have implemented allows exactly that. Every e-mail you’ll send from the Farmigo system will be integrated with your private mail account and domain and will be sent from there.
In order to do so we have integrated our platform with one of the most well-known mail API services named MailGun. (https://www.mailgun.com/)
You’ll just need to create an account in Mailgun, and define your domain and private mail account, connect it with your Farmigo system and all your e-mails will start to be sent from this mail account.
In addition to the robust Mailgun mailing system you will be able to use different features that the platform provides, such as: Tracking e-mails (How many e-mails were delivered, accepted, opened or clicked) and unsubscribing members.
Set-up Mailgun
Using Mailgun Functionality
The main 2 features that you can use with Mailgun are e-mail tracking and unsubscribes.
You’ll first need to enable those features in your Mailgun account.
In your Mailgun dashboard click on Sending and then Domain settings. Scroll down to the Tracking section and enable the events you want to use: e.g. Click Tracking, Open Tracking and Unsubscribe.
Mailgun Pricing
Mailgun has several pricing models listed on their site - https://www.mailgun.com/pricing/
We recommend to start a trial with the Flex pay as you go plan.
Sending Emails without the Mailgun Integration
Farmigo allows you to send e-mails using its built-in mail service integrated with Google mail service.
Each system receives a virtual e-mail account that we generate for you. The emails are being sent from the farmigo domain.
This is the format of the e-mail account:
Business Name <farmigo.<farm-url>@farmigo-csa-hr.appspotmail.com>
For example:
Share the Harvest <farmigo.sharetheharvest@farmigo-csa-hr.appspotmail.com>
We have also set a special return to and bounce back mechanism that redirects the responses to your farm mail.
This is a very robust and stable mechanism as it is using Google Mail Service infrastructure.
Rollback to the original Farmigo mail infrastructure
We believe that you’ll find this service very helpful, but in case you would like to rollback to the original Farmigo mail service and use the Farmigo virtual mail account and Farmigo domain to send your mails it is possible and simple to rollback.
There are cases in which an organization wants to send the e-mails from their own domain and use one of their mail accounts.
The new Mail API integration we have implemented allows exactly that. Every e-mail you’ll send from the Farmigo system will be integrated with your private mail account and domain and will be sent from there.
In order to do so we have integrated our platform with one of the most well-known mail API services named MailGun. (https://www.mailgun.com/)
You’ll just need to create an account in Mailgun, and define your domain and private mail account, connect it with your Farmigo system and all your e-mails will start to be sent from this mail account.
In addition to the robust Mailgun mailing system you will be able to use different features that the platform provides, such as: Tracking e-mails (How many e-mails were delivered, accepted, opened or clicked) and unsubscribing members.
Set-up Mailgun
- Create an account in Mailgun - https://signup.mailgun.com/new/signup
- Add your domain to your Mailgun account. If for example your domain is myfarm.com, you can add this domain using a subdomain such as mail.myfarm.com
- Verify your domain - you can find here instructions how to do so
https://help.mailgun.com/hc/en-us/articles/360026833053-Domain-Verification-Walkthrough- Make sure you don’t have already DNS settings using the subdomain you have defined e.g. mail
- Make sure when defining the DNS settings that you are using the subdomain e.g. mail
- Connect your Mailgun Account to Farmigo. In your Farmigo dashboard go to Settings → General Settings. In the Email Settings field you need to set the following parameter:
- {"provider":"MAILGUN", "apiKey":"09sdfbsdfea528b4dae3a971c08sdf03-d3sdfdsf2sdfc0e", "domain":"mail.myfarm.com", "sender":"My Farm <mail@myfarm.com>"}
- Provider = MAILGUN
- apiKey = Need to take from your Mailgun account - Link to api key (click on your account at the upper right corner and select the API Keys option. Then you should take the Private API Key.
- Domain = Is the name of domain you have defined in Mailgun e.g. mail.myfarm.com
- Sender = The mail account in the domain you wish to use to send the emails from. E.g. mail@myfarm.com
- You can also mask your email address with the farm name: "My Farm <mail@myfarm.com>"
- {"provider":"MAILGUN", "apiKey":"09sdfbsdfea528b4dae3a971c08sdf03-d3sdfdsf2sdfc0e", "domain":"mail.myfarm.com", "sender":"My Farm <mail@myfarm.com>"}
- That’s it. After you save this parameter, you can start sending e-mails and they will be sent from the Mailgun account you have defined.
Using Mailgun Functionality
The main 2 features that you can use with Mailgun are e-mail tracking and unsubscribes.
You’ll first need to enable those features in your Mailgun account.
In your Mailgun dashboard click on Sending and then Domain settings. Scroll down to the Tracking section and enable the events you want to use: e.g. Click Tracking, Open Tracking and Unsubscribe.
Mailgun Pricing
Mailgun has several pricing models listed on their site - https://www.mailgun.com/pricing/
We recommend to start a trial with the Flex pay as you go plan.
Sending Emails without the Mailgun Integration
Farmigo allows you to send e-mails using its built-in mail service integrated with Google mail service.
Each system receives a virtual e-mail account that we generate for you. The emails are being sent from the farmigo domain.
This is the format of the e-mail account:
Business Name <farmigo.<farm-url>@farmigo-csa-hr.appspotmail.com>
For example:
Share the Harvest <farmigo.sharetheharvest@farmigo-csa-hr.appspotmail.com>
We have also set a special return to and bounce back mechanism that redirects the responses to your farm mail.
This is a very robust and stable mechanism as it is using Google Mail Service infrastructure.
Rollback to the original Farmigo mail infrastructure
We believe that you’ll find this service very helpful, but in case you would like to rollback to the original Farmigo mail service and use the Farmigo virtual mail account and Farmigo domain to send your mails it is possible and simple to rollback.