By default each Post Affiliate Pro account/licence uses PHP mail() function to send emails.

Sending emails via PHP mail() function will work correctly, however due to our server's higher spam ratings the emails might not be delivered to the recipient. There are 2 options how you can increase the chances of the emails being delivered, the latter (SMTP) being recommend:

1. Use PHP mail() function with your own domain and set up SPF record (hosted)

As soon as you change the Email field under Mail Account setting to use another domain then it will ask you to set up SPF record. It is needed as a confirmation for recipients' mail servers that our mail servers are allowed to send out emails under your domain. It helps decrease spam ratings of such emails and increase delivery chances.

You need to setup SPF record in your domain's DNS settings, specifically under TXT record. How you add the SPF record differs based on whether you already have some v=spf1 record set or not. If you don't have any other spf record there then you can add just this record into TXT:


If you already have some SPF record there so for example your current SPF looks like this:

v=spf1 a mx ?all

then you need to append to this record also Post Affiliate Pro line with INCLUDE instead of REDIRECT so it would look like this:

v=spf1 a mx ?all

You can check whether the SPF record is propagated already with many different DNS checker tools, our favourite is where you enter your domain name, hit search and see whether in the records over different geographical locations you see the correct SPF record including

The application will not let you save the email address until the SPF record is set and propagated. This usually takes some time so you might need to return to saving the account after a few minutes from setting the actual SPF record.

2. Set up SMTP connection to send out emails

If some of your affiliates are complaining that they are not receiving their email notifications from your affiliate program and you can see those notifications marked as Sent in your Post Affiliate Pro mail outbox it's most likely caused by the fact that you are using PHP mail() function to send those emails and recipient's mail server is blocking those emails. In this case we suggest you to use the other available method of sending emails and that is via SMTP connection to your own mail server.

SMTP server connection details should be provided to you by your mail server provider.
For example if you want to use your Gmail account to send emails from your Post Affiliate Pro software you can connect to a Gmail SMTP server like this.
The "Email" field of the configuration screen will need to contain an email address which is an allowed sender on your mail server/service, so normally your actual email address.


Advanced settings tab

On the Advanced settings tab you can change User-Agent that will be used in outgoing emails and you can also set the time period for automatic deletion of old email records here.
There is also a checkbox for Use system email as sender in Contact Us forms. If it's checked, system email address will be used as sender for emails created via contact us function available for your affiliates or visitors of the mini-site and the affiliate's or customer's email address will be added to field 'Reply to' instead. This is needed if your mail server doesn't allow to set any email address as "from" email.