I am using centos. I have setup php.ini to use ssmtp as a relay , so that I can use smtp.gmail.com. php.ini has been changed to sendmail_path = /usr/sbin/ssmtp -t
I have confirmed that this is working by using the following code
<?php
$to = "recipient@example.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("<p>Email successfully sent!</p>");
} else {
echo("<p>Email delivery failed…</p>");
}
?>
The email is sent to the correct recipient.
however. FrontAccounting is still not sending emails. I get the following errer
SALES QUOTATION 2. Sending document by email failed. Email: recipient@example.com
NOTE:recipient@example.com is not the actual email address that I used.