Home > Archive > PHP Language > November 2005 > mail
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Hello,
Could you tell me how can i do for send mail in html but without attach file
it's because
when I am in html I had an attact pic in my mail
thank you
| |
|
| Dave ha scritto:
> Hello,
>
> Could you tell me how can i do for send mail in html but without attach file
> it's because
> when I am in html I had an attact pic in my mail
>
> thank you
>
>
<?php
$to = "Dave <topspam@topspam.us>";
$subject = "Help this?";
$message = '
<html>
<body>
YOUR BODY
</body>
</html>
';
Content-type. */
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
mail($to, $subject, $message, $headers);
?>
Bye
Enrico
|
|
|
|
|