Hello,
I have installed osticket and I have gone through the wiki, fixes from this forum and I cannot get my system to show: noreply@myticketsys12.com
Instead is shows: servername@box###.hostingco.com
These are the settings I have in my class.misc.php
/* Send email out after minor cleanups..*/
function sendmail($to, $subject, $message, $from, $headers = '') {
//TODO: provide an option to use SMTP server. Log all outgoign emails??
//do some cleanup...avoid stupid errors.
$to=preg_replace("/(\r\n|\r|\n)/s",'', trim($to));
$subject=preg_replace("/(\r\n|\r|\n)/s",'', trim($subject));
$message = preg_replace("/(\r\n|\r)/s", "\n", trim($message));
$headers = "From: $from \r\n" . $headers;
$headers = "Sender: $from \r\n" . $headers;
$headers = "X-Mailer: osTicket 1.6 \r\n" . $headers;
//echo "';
mail($to,$subject,$message,trim($headers));
}
I have created a valid email account and setup piping correctly..
What can I do? what am I doing wrong?
Thanks!