Nov 24, 2009

Send Multi Mail

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Scripting > Miscellaneous Scripting Languages & Ideas

Send Multi Mail

hfbvm
HTML CODE
<form>
separate emails by commas<br/>
to: <input type="text" name="email"/>
<br/>
msg:<br/>
<textarea name="msg"></textarea>
<br/><br/>
<input type="submit" value="send"/>
</form>

PHP CODE

<?
$to = $_REQUEST['email'];
$msg = $_REQUEST['msg'];
if($to == NULL|$msg==NULL){
echo "Error.";
}
else{
$mails = explode(",",$to);
for($i=0;$i < count($mails);$i++){
if($mails[$i] != NULL){
$m = mail($mails[$i],"",$msg);
if($m){
echo "successfully sent";
}
else{
echo "Error";
}
}
}
}

?>

Comment/Reply (w/o sign-up)

aloKNsh
hey nice share....
from where you have got this or you have made it on your own.......
thank you very much

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Multi Mail


    Looking for Send, Multi, Mail

See Also,

*SIMILAR VIDEOS*
Searching Video's for Send, Multi, Mail
advertisement



Send Multi Mail

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com