View Single Post
ישן 10-04-08, 19:10   # 2
יניב בן צבי
חבר בקהילה
 
מיני פרופיל
תאריך הצטרפות: Nov 2007
הודעות: 162

יניב בן צבי לא מחובר  

PHP קוד:
<? 
    
//change this to your email. 
    
$to ""
    
$from ""
    
$subject "Hello! This is HTML email"

    
//begin of HTML message 
    
$message = <<<EOF 
<html
  <
body bgcolor="#DCEEFC"
    <
center
        <
b>Looool!!! I am reciving HTML email......</b> <br
        <
font color="red">Thanks Mohammed!</font> <br
        <
a href="http://www.maaking.com/">* maaking.com</a
    </
center
      <
br><br>*** Now you Can send HTML Email <brRegards<br>MOhammed Ahmed Palestine 
  
</body
</
html
EOF;   //end of message 
    
$headers  "From: $from\r\n"
    
$headers .= "Content-type: text/html\r\n"

    
//options to send to cc+bcc 
    //$headers .= "Cc: [email]maa@p-i-s.cXom[/email]"; 
    //$headers .= "Bcc: [email]email@maaking.cXom[/email]"; 
     
    // now lets send the email. 
    
mail($to$subject$message$headers); 

    echo 
"Message has been sent....!"
?>
מחיפוש פשוט בגוגל
תהנה
  Reply With Quote