Hi,
I am trying to set up automated email messages in html format.
This is the code so far:
$var = mail("$toMail", "$subject", "$message","Content-type: text/html\n
From: $email\nReply-To: $email\n","sendmail_path: /usr/sbin/sendmail\n");
It works but for some reason the email address of the sender ($email) is not parsed correctly. It says 'nobody' and the properties in my email client show the email address of the host. I am pretty sure $email is set correctly.
Anyone knows what is causing this and what I can do to fix it?
Thanks
Raoul