I have a php website hosted on Google Cloud Compute Engine. I also have a paid Google Workspace account for my emails, etc. I would like to use the mail function in php to receive emails from my contact form.
I tried following the steps here: https://support.google.com/a/answer/2956491
However, when I reached the "Point your on-premise outbound server to Google" section, I'm completely lost as none of the listed instruction sets seem to be for Google Cloud Compute Engine.
Is there a way I can get the mail function to work without having to tinker with third-party solutions?
Edit: I have Exim4 running on my server but don't know how to point it to my Google Workspace.