RE: [PHP] mail from

2007-10-25 Thread Instruct ICC
> > in my php.ini, I have this set > > sendmail_from = [EMAIL PROTECTED] The first thing I'd do is verify if the script is really using the php.ini you think it is by having the script output phpinfo. _ Peek-a-boo FREE Tricks & Tre

Re: [PHP] mail from

2007-10-25 Thread Daniel Brown
On 10/25/07, Richard Heyes <[EMAIL PROTECTED]> wrote: > Richard Heyes wrote: > >> in my php.ini, I have this set > >> sendmail_from = [EMAIL PROTECTED] > >> > >> yet when I do this command :("[EMAIL PROTECTED]","TEST > >> MAIL","TESTING MAIL"); > >> I get this message Warning: mail() [function.mail

Re: [PHP] mail from

2007-10-25 Thread Richard Heyes
Richard Heyes wrote: in my php.ini, I have this set sendmail_from = [EMAIL PROTECTED] yet when I do this command :("[EMAIL PROTECTED]","TEST MAIL","TESTING MAIL"); I get this message Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Ine

Re: [PHP] mail from

2007-10-25 Thread Richard Heyes
in my php.ini, I have this set sendmail_from = [EMAIL PROTECTED] yet when I do this command :("[EMAIL PROTECTED]","TEST MAIL","TESTING MAIL"); I get this message Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Inetpub\wwwroot\intranet\

Re: [PHP] mail() from addess problems

2004-09-07 Thread Josh Close
Thanks. -Josh On Tue, 07 Sep 2004 16:55:24 -0500, Greg Donald <[EMAIL PROTECTED]> wrote: > > > On Tue, 2004-09-07 at 16:52, Josh Close wrote: > > When I'm using mail() to send an email, the user is always > > > > From: "Apache" <[EMAIL PROTECTED]> > > > > How would I get this to change? I didn

Re: [PHP] mail() from addess problems

2004-09-07 Thread Matt M.
> How would I get this to change? I didn't see anything in php.ini or > httpd.conf. I've found it's not possible to do a header rewrite with > postfix either. There is examples in the manual http://us2.php.net/mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] mail() from addess problems

2004-09-07 Thread Greg Donald
On Tue, 2004-09-07 at 16:52, Josh Close wrote: > When I'm using mail() to send an email, the user is always > > From: "Apache" <[EMAIL PROTECTED]> > > How would I get this to change? I didn't see anything in php.ini or > httpd.conf. I've found it's not possible to do a header rewrite with > postf

Re: [PHP] Mail From option in PHP.ini

2003-07-21 Thread Peter Torraca
On 07/18/2003 12:00 PM, Brian S. Drexler wrote: Ok, I want to specify who the mail is coming from by using the sendmail_path option in the PHP.ini. I've added the [EMAIL PROTECTED] to it, but I want to be able to dynmaically change [EMAIL PROTECTED] to [EMAIL PROTECTED] or whatever else. Anyo

Re: [PHP] Mail From option in PHP.ini

2003-07-20 Thread Curt Zirzow
* Thus wrote Lowell Allen ([EMAIL PROTECTED]): > return-path for emails is something like "Return-Path: > <[EMAIL PROTECTED]>". I had accepted that I could not change > the return-path value with PHP, but reading about this fifth parameter > renewed my hope that I could. > > I tried adding a fifth

Re: [PHP] Mail From option in PHP.ini

2003-07-20 Thread Lowell Allen
> From the php website, it appears that the [EMAIL PROTECTED] can be > put in the fifth parameter of the mail() function: > > Example 3. Sending mail with extra headers and setting an additional > command line parameter. > > mail("[EMAIL PROTECTED]", "the subject", $message, >"From: [EMAIL PR

RE: [PHP] Mail From option in PHP.ini

2003-07-18 Thread Brian S. Drexler
GREAT!!! I guess I need to RTFM...:-) Thanks again for all your help everyone! -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 11:38 AM To: [EMAIL PROTECTED]; 'M.A.Bond'; 'sven'; 'php-general' Subject: RE: [PHP] Mail From

RE: [PHP] Mail From option in PHP.ini

2003-07-18 Thread Mark
n S. Drexler" <[EMAIL PROTECTED]> wrote: > Yes, sorry...forgot to include that one...:-) > > -Original Message- > From: M.A.Bond [mailto:[EMAIL PROTECTED] > Sent: Friday, July 18, 2003 11:31 AM > To: 'sysadmin'; 'sven'; php-general > Subje

RE: [PHP] Mail From option in PHP.ini

2003-07-18 Thread Brian S. Drexler
Yes, sorry...forgot to include that one...:-) -Original Message- From: M.A.Bond [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 11:31 AM To: 'sysadmin'; 'sven'; php-general Subject: RE: [PHP] Mail From option in PHP.ini I take it you've also tried setting

RE: [PHP] Mail From option in PHP.ini

2003-07-18 Thread M.A.Bond
I take it you've also tried setting Reply-To: ?? Same format as From: Mark -Original Message- From: Brian S. Drexler [mailto:[EMAIL PROTECTED] Sent: 18 July 2003 16:25 To: 'sven'; php-general Subject: RE: [PHP] Mail From option in PHP.ini No, I tried this too. Here is

RE: [PHP] Mail From option in PHP.ini

2003-07-18 Thread Brian S. Drexler
'Return-Receipt-To' => '"' .$FullName.'" <'.$Email.'>', //'Return-Path' => $Email, 'Subject' => 'Your Quote # '.$Theresult ); The comm

RE: [PHP] Mail From option in PHP.ini

2003-07-18 Thread Brian S. Drexler
From: skate [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 11:16 AM To: [EMAIL PROTECTED]; 'CPT John W. Holmes'; [EMAIL PROTECTED] Subject: Re: [PHP] Mail From option in PHP.ini the sendmail_path in php.ini is to do with where abouts the sendmail program is located, not where

Re: [PHP] Mail From option in PHP.ini

2003-07-18 Thread sven
M group > so it can only be set in the php.ini or httpd.conf...Thanks for the > suggestion though... > > -Original Message- > From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] > Sent: Friday, July 18, 2003 11:09 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subje

Re: [PHP] Mail From option in PHP.ini

2003-07-18 Thread skate
should be none-the-wiser unless he really wants to sift through the headers. - Original Message - From: "Brian S. Drexler" <[EMAIL PROTECTED]> To: "'CPT John W. Holmes'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 18, 2003 4:

RE: [PHP] Mail From option in PHP.ini

2003-07-18 Thread Brian S. Drexler
y 18, 2003 11:09 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Mail From option in PHP.ini > Ok, I want to specify who the mail is coming from by using the sendmail_path > option in the PHP.ini. I've added the [EMAIL PROTECTED] to it, but I want > to be able to d

Re: [PHP] Mail From option in PHP.ini

2003-07-18 Thread CPT John W. Holmes
> Ok, I want to specify who the mail is coming from by using the sendmail_path > option in the PHP.ini. I've added the [EMAIL PROTECTED] to it, but I want > to be able to dynmaically change [EMAIL PROTECTED] to [EMAIL PROTECTED] or > whatever else. Anyone have any ideas how I can do this? I'm pu

Re: [PHP] MAIL FROM NO ONE

2002-07-11 Thread Alberto Serra
Chris Knipe wrote: > On Thu, Jul 11, 2002 at 02:29:11PM +0200, vins wrote: > Allot of SMTP servers does quite a bit of sanity checking on the headers > received from an email message. Not in the west. They are too busy allowing in the commercial spam they are sending themselves. Otherwise you'

Re: [PHP] MAIL FROM NO ONE

2002-07-11 Thread Chris Knipe
On Thu, Jul 11, 2002 at 02:29:11PM +0200, vins wrote: > Hi... I've just checked out a script from hotscripts.com that send email > from and smtp server... The mail() does exactly the same Nothing fancy about it. > I've managed to say the email has come from a server that doesn't exist > bu

Re: [PHP] MAIL FROM NO ONE

2002-07-11 Thread Chris Hewitt
Vins, Yes, talk to port 25 of any smtp server using php. You would need to implement the full RFCs on smtp and its re-inventing the wheel. There are already classes to talk to whichever smtp server you want. Whichever smtp server you sent the mail to would log it, and the server it came from.

RE: [PHP] mail from

2001-08-20 Thread Tony G. BolaƱo
Use the header field in the mail function: $header ="From: <[EMAIL PROTECTED]>\n>"; $header .="X-Sender: <[EMAIL PROTECTED]>\n"; $header .="X-Mailer: PHP\n"; $header .="Reply-To: <[EMAIL PROTECTED]>\n"; $header .="Return-Path: <[EMAIL PROTECTED]>\n"; ... mail($recipient, $subject,

RE: [PHP] mail from

2001-08-20 Thread Jan De Luyck
You can set them using the header field in the mail function. Checkout http://www.php.net/mail Jan De Luyck > -Original Message- > From: PHP [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 20, 2001 11:26 AM > To: [EMAIL PROTECTED] > Subject: [PHP] mail from > > > Hello all. Does any

Re: [PHP] mail from

2001-08-20 Thread speedboy
> Hello all. Does anyone know how i can set up the "from " and "Return > Address" fields in the mail functions in php? mail("[EMAIL PROTECTED]", "subject.", "body.", "From: php@$SERVER_NAME\n"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For add