<?xml version="1.0" encoding="windows-1252"?>
<node id="191777" title="Re: Form mail script" created="2002-08-21 11:58:55" updated="2005-06-04 03:17:46">
<type id="11">
note</type>
<author id="132180">
screamingeagle</author>
<data>
<field name="doctext">
try this if you're using Net::SMTP :
&lt;code&gt;
$mail-&gt;data(); 
$mail-&gt;datasend("To: you@you.com"); 
$mail-&gt;datasend("From: me@me.com\n"); 
$mail-&gt;datasend("Subject: Subject Text\n"); 
$mail-&gt;datasend("\n"); 
$mail-&gt;datasend("Email content\n\n"); 
$mail-&gt;dataend(); 
 &lt;/code&gt;
for sending HTML  , set the Content-type of the mail object to "text/html"

hth</field>
<field name="root_node">
191752</field>
<field name="parent_node">
191752</field>
</data>
</node>
