???? ???
????? ???? ??????? ??? ??? ???? ?? ?????? mail
??? ??? ???? ???? ???????? ?????.????? ???? ?????
??? ?? ??? ??? ??? ???????
????? ?????? ???? ?? ????? ?????? ????????? ??? ?? ???? ????????
???? ???? ???? ???? ???? ?????????
?? ???? ??? ????? ??????:
???:
mail('mail@somebody.com','the subject here','message here');
????? ???? ???? ?????? ???????? ?????? ????:
???:
$mail = "somebody@mail.com";
$subject = "Subject here";
$message = "Hi There,I am form
7shasha.com";
mail($mail,$subject,$message);
??? ???? ??? ????? ????? ?? ????
????? ???? ???? ????
???:
$people = array('mail1@mail.com','mail2@mail.com',
'mail3@mail.com');
$to= implode(',',$people);
$subject="Hii";
$message="
hi my freind
I love You Soo Much
Moooah";
mail($to,$subject,$message);
???,?? ?? ???? ??????? ??????? ???? ?????? Nobody ???? ???????
???? ????? ???,?? ??? ???? ??? ?? ????? :D
??????:
???:
$subject='SoSo Love You';
$message='Hiiii All
I Love You';
$header='From: YourName <youremail@mail.com>
Reply-To:
youremail@mail.com';
mail('somebody@mail.com',$subject,$message,$header);
???? ???? ?????? ?????????? ????? ?? ??????? ??? ??????
http://people.dsv.su.se/~jpalme/ietf...il-headers.txt????? ????? ???? ??????? ????? HTML ?? ???? ????? ??? ????? ???????
????:
???:
<?
$subject='??? ???';
$message='
<html>
<body dir=rtl>
<h1>?????? ????? ...</h1>
<br>
????? ??? ?? ??? ???? ???? <br>
????? ?? ????? ????? ?????? ????? ?????? <font color=red> ??????? ?? ?? ???? ?? ?? ?
??? ??? ???? ???? ???????? ?????</font>
<br>
???? ???? ??????
<br>
<a href="http://www.7shasha.com">
?? ??????</a>
<br>
???? ????
</body>
</html>
';
$header='From: soso <soso@mail.com>
Reply-To:
abomuhammed@islamway.net MIME-Version : 1.0
Content-type: text/html ; charset=windows-1256 ';
mail('mail@mail.com',$subject,$message,$header);
?>
????? ??? ????? ????? ???? ?????? ???? ?????? ???? ????? ????????
??? ??? ???? ?????? ?? ?????? ?????
???????
</BLOCKQUOTE>