in reply to Headers appearing in email body
$smtp->datasend("Subject: $subject\n"); [download]
Dave.