back to

Smtp send vs. phpmailer send: looks like smpt passes dkim and phpmailer doesn't


I oftentimes test my email campaigns at this service prior to sending:

It’s one of several I use to confirm that all my settings and spf, dkim and dmarc are working properly.

All of the other services report that my dkim passes but the one listed above always fails. I contacted the operator and they said that they use more stringent tests.

I then contacted the excellent support people at cpanel who are responsible for the software that generates dkim keys on my server. They took a look and suggested I use the smpt send instead of phpmailer and guess what - I passed the test at

I know that phplist suggest the use of phpmailer but this seems - at least in my configurations - contrary to passing all the test necessary to not get tagged as spam.

Thoughts anyone?


I think more details will be necessary regarding why the tests failed in order to understand this. Certainly it is possible to use phpmailer with Dkim successfully, but we know little about your setup at this stage. Copy paste the errors?