in reply to Not hard-code text with NET::SMTP ?
where $message contains text of the message$smtp->data(); $smtp->datasend("To: $mailheaders{To}\n"); $smtp->datasend("From: $mailheaders{From}\n"); $smtp->datasend("Subject: $mailheaders{Subject}\n"); $smtp->datasend("Date: $smtpdate\n"); $smtp->datasend($message); $smtp->dataend();
|
---|