Solved

Exchange Server side rule to forward with high importance

Posted on 2010-11-10
3
692 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
3 Comments
 
LVL 7

Expert Comment

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

Author Comment

by:norwoodhelpdesk
Comment Utility
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
Comment Utility
What if you add

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

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

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now