I haven't done this before and I haven't quite got my head around what is actually happening. I've got a site on shared hosting, minimal traffic. Plesk control panel, domains managed by the registrar. SSL set up for the site. The site sends emails when people fill out the contact form. Humans use Gmail to send and receive emails. Plesk lets me use DKIM spam protection I've seen info about using puttygen to generate the keys I need & it seems pretty ad hoc. How do I ensure I can still send from gmail? Do I need to add anything to my php scripts to sign them?
Log in to your Plesk control panel and configure an external mail server (gmail) to handle mail for your domain. Also, MX records of your domain should point to gmail servers. As for the contact form on your site, you should be able to use the PHP mail() function to send an email when people fill out the contact form.
Hi @RoseHosting - yeah, we're using mail() to send from the site, and I thought you only changed the mx records if you were using gsuite so I'll look into that. My concern is around the dkim when emails are sent from two different sources.