clothes store     


Pls help me to understand th..

About ELECTRONIC MAIL AWARD-..

I need a domain name.ex: bri..

Setting up a windows mail ac..

I got Microsoft Award Team W..

I am so down and out now..im..

Outlook express HELP PLEASE?

Hijackthis log file, i have ..

What's your thought..

Motorola razr V3?

Am so down and out now..im n..

Outlook express problem?

Help with pop3?

Why am I not recieving all m..

Olympic Games concept logos?

This leter from microsoft pa..

Why don't people un..

Scam or not?

Question for experienced Win..

How can I get in-and outgoin..

Trouble e-mailing people wit..

Was this a rude comment?

Why do I get notices, re: me..

Does anyone know where I can..

I receive a lot of scams lik..

Why are people sending to my..

On TV I saw President Bush d..

Call me if you have TALENT!!..

When I send emails to my con..

Calling all former exchange ..

There is an error in the To ..

Should let my friend&#03..

Any ideas to why i get this ..

Au Pair, was I rude? is it o..

Why do I keep getting a fail..

Radio Show interview about l..

Sitesled issues?

Is this a load of rubbish or..

I intend to create a website..
 
How do i add another recipient to my php script?    [Imwebhost]

<?php

// get posted data into local variables

$EmailFrom = "from@host.com ";

$EmailTo = "To_me1@yahoo.com" ;

$Subject = Trim(stripslashes($_POST['Subject']));

$Message = Trim(stripslashes($_POST['Message']));

$Email = Trim(stripslashes($_POST['Email']));

$IP = $_SERVER['REMOTE_ADDR'];

// prepare email body text

$Body = "";

$Body .= " ";

$Body .= $Message;

$Body .= "\n";

$Body .= " \n\nFrom $Email\n\n";

$Body .= "IP=$IP";

// send email

$success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>");

// redirect to success page

if ($success){

print "<meta http-equiv=\"refresh\" content=\"0;URL=ok.html\">";

}

else{

print "<meta http-equiv=\"refresh\" content=\"0;URL=error.html\">";

}

?>

ok so far i have one email in the $EmailTo but how do i add another one ive tried seperating with a comma. and something with /r/n. any idea

ty

How do i add another recipient to my php script?

$EmailTo = "To_me1@yahoo.com" ;

$EmailTo2 = "To_me2@yahoo.com" ;

...

$success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>") && mail($EmailTo2, $Subject, $Body, "From: <$EmailFrom>") ;


[Imwebhost]


Iphone help?
Hey... my PHP form will not work...?
I have photosmart all in one trying send a paper i scanned b..
Nameserver and domain name question?
Emailing through outlook express?
How do i get my cgi formail script to format the mail its se..
What do I take to a dinner party?
Filezilla upload?
Please WHITELIST Livingnaturally.com?
Why do I have many mailer demons?

Google


Comment
Name: Name:  Password:   Register?
Comment:
Face  
 

links:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 email hosting 25