Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, How may I change the priority of a message by using Net::Smtp?

Replies are listed 'Best First'.
Re: send mail using SMTP
by gav^ (Curate) on Mar 27, 2002 at 21:31 UTC
    It's not in RFC2821 but sending a X-Priority might do the trick. Outlook Express seems to think a priority of 1 is urgent.
    $smtp->data(); $smtp->datasend("To: postmaster\n"); $smtp->datasend("X-Priority: 1\n"); $smtp->datasend("\n"); $smtp->datasend("A simple test message\n"); $smtp->dataend();
    Based on the Net::Smtp docs.

    gav^