471,898 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,898 software developers and data experts.

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 2937

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
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.