LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-09-2005, 04:50 AM   #1
jagster
LQ Newbie
 
Registered: May 2005
Posts: 17

Rep: Reputation: 0
php mail settings


I have a problem when i try and send mail from a PHP script...
It sends it from the address mail@localhost and i need to change this but cant seem to work out where its getting this from, can somebody please point me in the right direction..

(Im using ferdora FC4)

Cheers
 
Old 11-10-2005, 02:13 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can use the extra headers parameter to mail() to set who it is from. See:
http://uk.php.net/manual/en/function.mail.php#AEN74906
 
  


Reply



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
PHP Website with e-mail forms, what mail daemon? gbkyle Linux - Software 1 07-05-2005 12:33 PM
php: different mail server from php.ini rayds Programming 0 09-14-2004 03:48 AM
Mail Settings Manager? zukinx Linux - Software 0 08-17-2004 08:14 PM
Cannot send mail with mail() command in PHP 4.3.4, Apache 2.0.48, Mandrake Linux 10 arcanum Linux - General 3 06-27-2004 06:06 PM
e-mail settings in mozilla upchucky Linux - Laptop and Netbook 3 03-27-2004 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration