Hi,
Could anyone help me, how to can I set the subject of a mail, if I want to use the SMTP modul?
$smtp = Net::SMTP->new('1.2.3..4', Debug => 0);
$smtp->mail("as@df.gh"
$smtp->to('qw@er.tz');
$smtp->data();
$smtp->datasend("fgv"
$smtp->dataend();
$smtp->quit;
#There is a way, to write the subject in the mail, but it will be in the body of the #e-mail, and not in the header:
# $smtp->datasend("Subject: MySubject"
kisan
Could anyone help me, how to can I set the subject of a mail, if I want to use the SMTP modul?
$smtp = Net::SMTP->new('1.2.3..4', Debug => 0);
$smtp->mail("as@df.gh"
$smtp->to('qw@er.tz');
$smtp->data();
$smtp->datasend("fgv"
$smtp->dataend();
$smtp->quit;
#There is a way, to write the subject in the mail, but it will be in the body of the #e-mail, and not in the header:
# $smtp->datasend("Subject: MySubject"
kisan