|
-
Jan 11th, 2011, 03:35 AM
#1
Thread Starter
Addicted Member
[RESOLVED] php email
hi guys, how to add an email address for this statement:
mail('[email protected]',"title",$text,$headers);
to add another email for this can put like this:
mail('[email protected],[email protected]',"title",$text,$headers);
what's the correct statement for this? thanks in advance.:
The taller the bamboo grows the lower it bends... 
-
Jan 11th, 2011, 11:56 PM
#2
Thread Starter
Addicted Member
Re: php email
Hi guys, found this on php.net manual. solved my issue.
it can be accomplished using this method. hope this will help one day with beginners like me.
to send to multiple recepient can do like this:
$to = '[email protected]' . ', '; // note the comma
$to .= '[email protected]';
and on the mail statement:
// Mail it
mail($to, ,"title",$text,$headers);
The taller the bamboo grows the lower it bends... 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|