Re: [PHP] Function Mail

2004-08-08 Thread John Holmes
Juan Pablo Herrera wrote:
I have a cuestion about the features on function mail. I think that it
send the email one to one address. Is it ok?.
Yes. It is all ok.
--
John Holmes
php|architect - The magazine for PHP professionals - http://www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Function Mail

2004-08-07 Thread Juan Pablo Herrera
Hi everybody,
I have a cuestion about the features on function mail. I think that it
send the email one to one address. Is it ok?.
Regards,
Juan Pablo

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



Re: [PHP] function mail()

2003-09-30 Thread Marek Kilimajer
Set SMTP setting in php.ini to the smtp server of your provider (and 
don't forget to restart web server).

[EMAIL PROTECTED] wrote:

I use mail() function in php, but there's no living mail from my system.
MUST be mail() function turn on in some special place (ini file, &...)
??
THANKS.

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


[PHP] function mail()

2003-09-30 Thread hiaer
I use mail() function in php, but there's no living mail from my system.
MUST be mail() function turn on in some special place (ini file, &...)
??

THANKS.

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



Re: [PHP] function mail()

2001-03-21 Thread Tobias Talltorp

See the SMTP value in your PHP.ini and set it to a valid outgoing mail
server

Another thing I have noticed, perhaps this is only me, is that if the
TO-address isnĀ“t valid it will fail.
Try to send an email to your own email address...

// Tobias


""Eric Tonicello"" <[EMAIL PROTECTED]> wrote in message
99a1hq$tns$[EMAIL PROTECTED]">news:99a1hq$tns$[EMAIL PROTECTED]...
> Hi !
>
> I'm trying to use the function mail().
>
> 
>
> I get :
>
> Warning: Failed to Connect in D:\IBOIS\web\test.php on line 1
>
> I'm using the lastest version of PHP on IIS 4.0
>
> What's wrong ?
>
> Should I  change the php.ini ?
>
> If I try to use the snmp library i get lot of errors...
>
> PLease help.me
>
> mcfly
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] function mail()

2001-03-21 Thread Eric Tonicello

Hi !

I'm trying to use the function mail().



I get :

Warning: Failed to Connect in D:\IBOIS\web\test.php on line 1

I'm using the lastest version of PHP on IIS 4.0

What's wrong ?

Should I  change the php.ini ?

If I try to use the snmp library i get lot of errors...

PLease help.me

mcfly




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] function mail

2001-02-27 Thread Richard Lynch

> $sent=mail("[EMAIL PROTECTED]", $subject, $msg, $from);
>
> if $sent==1 --> the e-mail was sent
>
> if $sent==0 --> problem when sending e-mail??
>
> how this works? When the function mail will have a problem?
>
> if the "to" mail are wrong?

If you are sending "local" mail, with no "@" in it, you'd probably get 0
back if it is an invalid user.

If sendmail (or your SMTP server in Windows) is dead, you'd get a "0" back.

The "to" mail could be completely bogus, and you'll still get a 1 back,
though.

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] function mail

2001-02-24 Thread Augusto Cesar Castoldi



$sent=mail("[EMAIL PROTECTED]", $subject, $msg, $from);

if $sent==1 --> the e-mail was sent

if $sent==0 --> problem when sending e-mail??

how this works? When the function mail will have a problem?

if the "to" mail are wrong?

regards,

Augusto Cesar Castoldi


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]