S
sg
Hello,
I'm trying to send email from my perl-script with different
priorities : normal or high.
For some reasons, I'm not going to use any perl-module like
MIME::Lite.
$email = "my.email\@isp.com";
$priority = 'high';
$html = "MIME-Version: 1.0\nContent-Type: text/html\; charset=us-ascii
\n";
$html .= "Subject: FYI-- $date\n";
$html .= "Priority: $priority\n\n"; # ---> here I'm trying to change
email priority
$html .= "<CENTER><HR>";
$html .= "<H1><FONT color=\"blue\">FYI -- $date</FONT></H1>\n";
$html .= "<HR></CENTER>";
open ( MAIL, "|/usr/bin/mail $email") or die;
print MAIL $html;
close ( MAIL);
Thank you in advance,
--Simon
I'm trying to send email from my perl-script with different
priorities : normal or high.
For some reasons, I'm not going to use any perl-module like
MIME::Lite.
$email = "my.email\@isp.com";
$priority = 'high';
$html = "MIME-Version: 1.0\nContent-Type: text/html\; charset=us-ascii
\n";
$html .= "Subject: FYI-- $date\n";
$html .= "Priority: $priority\n\n"; # ---> here I'm trying to change
email priority
$html .= "<CENTER><HR>";
$html .= "<H1><FONT color=\"blue\">FYI -- $date</FONT></H1>\n";
$html .= "<HR></CENTER>";
open ( MAIL, "|/usr/bin/mail $email") or die;
print MAIL $html;
close ( MAIL);
Thank you in advance,
--Simon