Solved

Exchange Server side rule to forward with high importance

Posted on 2010-11-10
3
696 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:
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this step by step procedure, you will come to know the details of creating an Outlook meeting in 2007, 2010, 2013 & 2016.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

770 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