Perl Net::SMTP How do i have the subject of an email show
From: Almir (almir_7_at_yahoo.com)
Date: 12/10/03
- Previous message: Randell D.: "Failed install of DBD::mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 10 Dec 2003 14:47:13 -0800
I hate this Net::SMTP stuff, everything works fine but for the suject
field. I see no way of having it show in an email when sent. Has
anyone had this problem, can anyone explain why there are no
documentations on smtp or better ones at least. I just need the
subject field to show.
$smtp = Net::SMTP->new('some.your.com');
$smtp->mail ($mailfrom);
#the administrator's email goes here
$smtp->to('mine@your.com');
$smtp->data();
$smtp->datasend("To: mine\@your.com\n");
$smtp->datasend("\n");
$smtp->datasend("Status: ");
$smtp->datasend($tokens{"status"});
$smtp->datasend("\n");
- Previous message: Randell D.: "Failed install of DBD::mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]