Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exchange Server side rule to forward with high importance

Posted on 2010-11-10
3
Medium Priority
?
706 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
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:
Rick Fee earned 2000 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

926 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