FW: [PHP] php.ini & ini_set

This is a discussion on FW: [PHP] php.ini & ini_set within the PHP General forums, part of the PHP Programming Forums category; Sorry, this should be. Which is (to address, the subject, the body of the message, and the from address) ----- That ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-01-2006
Beauford
 
Posts: n/a
Default FW: [PHP] php.ini & ini_set

Sorry, this should be.

Which is (to address, the subject, the body of the message, and the from
address)

-----

That doesn't work.

Here is what I have.

mail($email,$subject,$body,$from);

Which is (senders address, the subject, the body of the message, and the
from address)

The from address is taken from this, and I added the -f in front of it.
define("regaddress", "-fregistrar@totalcomputercare.ca");

It still says it comes from:
Nobody [nobody@host.hosting.com]; on behalf of; Registrar
[-fregistrar@mycompany.ca]

Thanks

-----Original Message-----
From: Chris [mailto:dmagick@gmail.com]
Sent: October 31, 2006 9:38 PM
To: Beauford
Cc: 'PHP'
Subject: Re: [php] php.ini & ini_set

Beauford wrote:
> Can you be more specific. I only see 4 parameters and none of them apply.


Oops sent you to the wrong page.

http://www.php.net/manual/en/function.mail.php

There are 5 parameters:

bool mail ( string to, string subject, string message [, string
additional_headers [, string additional_parameters]] )


Look for this:
additional_parameters (optional)


and look at example 3.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:18 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0