note 27188 deleted from function.mail by sniper
| From: | sniper@php.net | Date: | Wed, 29 Jan 2003 12:42:49 +0000 |
| Subject: | note 27188 deleted from function.mail by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-43063@lists.php.net to get a copy of this message | ||
HTML-PART Form:
<html>
<body>
<FORM action=php-Dateiname.php method=post><p>Subject:<br><input textarea =
maxlength=200 height=100 width=20 colspan=20 name=thema></p>
</P><INPUT type=submit value=absenden> </FORM></BODY></HTML>
</body>
</html>
<?php
$message = "<h1>Message text <h1>";
$to = "xy@z.com";
$HTTP_POST_thema = "Betrefftext";
$xtra = "From: absender@t-online.de (Nickname)\r\n";
$xtra .= "Content-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n";
mail($to,$subject,$message,$xtra);
?>
Don't forget to change the SMTP... in php.ini