MailRelay
MailRelay is an email marketing platform with both EU and US hosting options. Advanced Form Integration subscribes contacts to MailRelay groups from WordPress form submissions.
What you’ll need
- An active MailRelay account.
- Your MailRelay API credentials (see below).
- The Advanced Form Integration plugin installed and activated.
Get your MailRelay credentials
- Sign in to your MailRelay account.
- Go to Settings → API and generate an API Key.
- Note your account domain (e.g.
youraccount.ip-zone.com). - In WordPress, go to AFI → Settings → MailRelay.
- Click Add Account, enter the API Key and Domain, and give the account a name.
- Click Save.
Create the integration
- Go to AFI → Add New.
- Give the integration a name, for example
Form to MailRelay. - Under Trigger, pick the form plugin and the specific form.
- Under Action → Platform, select MailRelay.
- In Task, choose Subscribe to Group.
- Pick the saved account.
- Map your form fields onto the fields listed below.
- Optional: open Conditional Logic to limit which submissions are sent.
- Click Save Integration.

Tasks supported
Subscribe to Group
Subscribes a contact to the selected MailRelay group via the API at {domain}/api/v1/.
| Field | Field key | Required | Notes |
|---|---|---|---|
email |
Yes | ||
| Name | name |
No |
Pro features
The Pro integration extends the free version with additional capabilities. Pro uses the same MailRelay connection.
Feature comparison
| Feature | Free | Pro |
|---|---|---|
| Subscribe to group | ✅ | ✅ |
| Email + name | ✅ | ✅ |
| Custom fields | No | ✅ |
Conditional logic example
Only send data to MailRelay when specific conditions are met. For example, add a condition on a form field to control which submissions are forwarded.
Troubleshooting
Nothing arrives in MailRelay
Open AFI → Log and find the most recent entry. AFI stores the request URL, body, and raw response.
API credentials rejected
Verify your credentials in your MailRelay account settings. If they were regenerated, update them in AFI → Settings → MailRelay.