LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-13-2004, 09:32 AM   #1
rootyard
Member
 
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 prinscountertops.com";
$msg = "Thank you for your inquiry. A representative from --------- will be with you shortly.";

mail($to, $sub, $msg, $mh);
 
Old 09-13-2004, 02:22 PM   #2
N43
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.
 
  


Reply


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 08:49 PM
cyrus email account linux account nobu Linux - Enterprise 0 10-31-2005 04:16 AM
MySQl account login, PHP agallant Programming 2 07-16-2004 12:01 PM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 10:39 AM
LDAP Account manager, PHP and mcrypt, and so on... HOWTO???? Satriani Linux - Software 2 11-04-2003 07:46 AM


All times are GMT -5. The time now is 07:55 PM.

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