Solved

Exchange Server side rule to forward with high importance

Posted on 2010-11-10
3
702 Views
Last Modified: 2012-05-10
Hi,
I wrote a perl script that sends an email via smtp.  I don't see a way to send it with high importance.  What I wanted to try was to send to a different account, and then forward with high importance.  But the high importance is a client side rule.  Is there any way to do this as a server side rule?  

Or, if anyone knows if smtp has the calls for high importance, that would work for me as well.
Here is my smtp send code.
sub sendOrderEmail() {
$smtp = Net::SMTP->new(
 Host => "redwmail001.norwoodaustin.com",
 Hello => "redwmail001.norwoodaustin.com",
 Timeout => 120,
 Debug => 1,
 );
$smtp->mail($theSender);
$smtp->to($theOrderRecipient);
$smtp->data();
$smtp->datasend($theFrom);
$smtp->datasend("\n");
$smtp->datasend($theOrderTo);
$smtp->datasend("\n");
$smtp->datasend("Subject: Sales Order ");
$smtp->datasend("$name");
$smtp->datasend(" is ready to be entered.");
$smtp->datasend("\n");
$smtp->datasend("\n");
$smtp->datasend("\n");
$smtp->dataend();
$smtp->quit;
}
0
Comment
Question by:norwoodhelpdesk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Expert Comment

by:Rammestein
ID: 34102409
Which version of Exchange u using?
Are u sending the email to internet
are u allowing relay?
0
 

Author Comment

by:norwoodhelpdesk
ID: 34102477
Exchange 2007
no, just to internal recipients
yes

The email is working fine, I am just hoping for an option to send it via high importance.
0
 
LVL 20

Accepted Solution

by:
EndureKona earned 500 total points
ID: 34102561
What if you add

$smtp->datasend("Importance: high\n");

http://quark.humbug.org.au/publications/perl/perlsmtpintro.html
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
Changing a few Outlook Options can help keep you organized!
how to add IIS SMTP to handle application/Scanner relays into office 365.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question