From: Heesob Park Date: 2008-11-04T13:52:59+09:00 Subject: Re: How to send mail with High priority Hi, 2008/11/4 Sandy : > 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