11-02-2011, 02:06 PM
b.m.abdelaziz كتب :تم بحمد الله شكراا لك
يكفي كتابة الكلمات باللغة الخضراء بمشاركتي السابقة بgoogle تجد ما يكفي ويريد
من يريد الكود
كود :
<?php
$to = 'nobody@example.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'from: webmaster@example.com' . "\r\n" .
'reply-to: webmaster@example.com' . "\r\n" .
'x-mailer: Php/' . Phpversion();
mail($to, $subject, $message, $headers);
?>كود :
$message =$_POST["content"];
وهذا في زر ارسال
http.RequestMethod := 'POST';//1
http.postStr:=('content=' + Memo1.text);
http.ExecuteURL('http://yoursite/sender.php');
