I have a PHP application with a "send e-mail" function in it. It looks a little like this (hidding personal information):
//SEND EMAIL
$destination = $destination;
$subject = "Issue - " . {issue_number};
$body = "Mr(s). Issuer <br/><br/>
rest of the message";
$header = 'MIME=Version: 1.0' . "
";
$header .= 'Content-type: text/html; charset=iso8859-1' . "
";
$header .= "To: <$destination" . "
";
$header .= 'From: Issues Central <issuescentral@myisp.com>' . "
";
mail($destination,$subject,$body,$header);
My PHP.ini file (/etc/php5/apache2/php.ini) is set like that:
For Unix only. You may supply arguments as well (default: "sendmail -t -I"). http://php.net/sendmail-path sendmail_path = /usr/sbin/sendmail -t -I
I was looking for the "sendmail" configurations file, and I kind of discovered that it's an alias to "exim4". And I'm kind of lost... Should I configure exim4 files? Which one? And how should I configure it?