What is the recommended way to send emails using PHP and Mercury?
To send emails using PHP and Mercury, it is recommended to use the `mail()` function in PHP. This function allows you to send emails directly from your PHP script using the Mercury mail server configured on your server. You can specify the recipient, subject, message, and additional headers as parameters to the `mail()` function.
$to = "recipient@example.com";
$subject = "Test Email";
$message = "This is a test email sent using PHP and Mercury.";
$headers = "From: sender@example.com";
mail($to, $subject, $message, $headers);