Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-13-2004, 08:32 AM   #1
Registered: Aug 2003
Posts: 167

Rep: Reputation: 30
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";
$msg = "Thank you for your inquiry. A representative from --------- will be with you shortly.";

mail($to, $sub, $msg, $mh);
Old 09-13-2004, 01:22 PM   #2
LQ Newbie
Registered: Sep 2004
Location: Germany
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
There has to be a colon after the From in the header of the mail.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
system account or user account??? yenonn Linux - Newbie 6 05-10-2006 07:49 PM
cyrus email account linux account nobu Linux - Enterprise 0 10-31-2005 03:16 AM
MySQl account login, PHP agallant Programming 2 07-16-2004 11:01 AM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM
LDAP Account manager, PHP and mcrypt, and so on... HOWTO???? Satriani Linux - Software 2 11-04-2003 06:46 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration