469,601 Members | 2,221 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,601 developers. It's quick & easy.

Perl Net::SMTP How do i have the subject of an email show

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('m***@your.com');
$smtp->data();
$smtp->datasend("To: mine\@your.com\n");
$smtp->datasend("\n");
$smtp->datasend("Status: ");
$smtp->datasend($tokens{"status"});
$smtp->datasend("\n");
Jul 19 '05 #1
0 2839

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by RandRace | last post: by
1 post views Thread by cyshao | last post: by
1 post views Thread by bindu83 | last post: by
1 post views Thread by neog | last post: by
11 posts views Thread by ibiza | last post: by
1 post views Thread by wootmaster | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.