Solved

Exchange Server side rule to forward with high importance

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

685 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