Hello
I have just set up SPF and DKIM in my CPanel (v58) account, and would like some clarification on its usage.
I use emailing via PHP with the PHPMailer class ( github.com/PHPMailer/PHPMailer ) which has various methods involving setting DKIM settings within the class, however from reading other website (and CPanel Forum) posts, I have not found a clear answer to the following query.
Precursor:
My website(s) have their DN controlled by WHM so everything DNS wise is on then WHM/CPanel system. No 3rd Party DNS.
I have found various literature ( stackoverflow.com/a/24464694/3536236 ) stating that PHPMailer can add DKIM details to outgoing emails.
Various comments etc. seem to imply that I only need to add DKIM details to PHPMailer if the DNS is a 3rd Party system.
So.... As my whole system is within WHM, do I need to add DKIM details to PHPMailer class?
If so, how do I find out where the DKIM keys are located (as this file location is required by PHPMailer, please see StackOverfow link above).
If not, am I right in assuming that the DKIM details are appended to the email as it is sent from the server automatically?
I have just set up SPF and DKIM in my CPanel (v58) account, and would like some clarification on its usage.
I use emailing via PHP with the PHPMailer class ( github.com/PHPMailer/PHPMailer ) which has various methods involving setting DKIM settings within the class, however from reading other website (and CPanel Forum) posts, I have not found a clear answer to the following query.
Precursor:
My website(s) have their DN controlled by WHM so everything DNS wise is on then WHM/CPanel system. No 3rd Party DNS.
I have found various literature ( stackoverflow.com/a/24464694/3536236 ) stating that PHPMailer can add DKIM details to outgoing emails.
Various comments etc. seem to imply that I only need to add DKIM details to PHPMailer if the DNS is a 3rd Party system.
So.... As my whole system is within WHM, do I need to add DKIM details to PHPMailer class?
If so, how do I find out where the DKIM keys are located (as this file location is required by PHPMailer, please see StackOverfow link above).
If not, am I right in assuming that the DKIM details are appended to the email as it is sent from the server automatically?
Last edited by a moderator: