LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Nobody Account (PHP) (https://www.linuxquestions.org/questions/programming-9/nobody-account-php-230037/)

rootyard 09-13-2004 08:32 AM

Nobody Account (PHP)
 
I have a mail script using PHP on our company's web server (remotely hosted unfortunately :(). I have a second part to the script that emails a message back to the sender (an autoresponder if you will). Whenever the autoresponder sends, it uses an account called "Nobody". It's not impractical (from a technical standpoint), however, from a marketing standpoint it is ugly. Is there any way I can change this?

My code for the autoresponder portion:

//new mail for autoresponder

$to = $Email; //$Email is from the form.
$sub = "Thanks for Your Inquiry!";
$mh = "From prinscountertops.com";
$msg = "Thank you for your inquiry. A representative from --------- will be with you shortly.";

mail($to, $sub, $msg, $mh);

N43 09-13-2004 01:22 PM

There has to be a colon after the From in the header of the mail.


All times are GMT -5. The time now is 12:13 AM.