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

From: Almir (almir_7_at_yahoo.com)
Date: 12/10/03

  • Next message: Jorgen Gustafsson: "Comparing values in 2 textfiles and returning the missing values"
    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");


  • Next message: Jorgen Gustafsson: "Comparing values in 2 textfiles and returning the missing values"