Hi,

2008/11/4 Sandy <lu.xiandong / gmail.com>:
> Hi all
>
>     I try to send mail by net::smtp. it works fine.
>    But I don't know how to send high priority mails.
>    who can help me for this ?
>    thanks
>
> sandy
>
>
Add Priority: Urgent and Importance: High headers like this:

Net::SMTP.start('smtp.example.com', 25) do |smtp|
  smtp.open_message_stream('from / example.com', ['dest / example.com']) do |f|
    f.puts 'Priority: Urgent'
    f.puts 'Importance: High'
    f.puts 'From: from / example.com'
    f.puts 'To: dest / example.com'
    f.puts 'Subject: test message'
    f.puts
    f.puts 'This is a test message.'
  end
end

Hope this helps
Park Heesob