Solved

Set the importance(High) of the mail

Posted on 2000-03-09
9
216 Views
Last Modified: 2013-12-24
could u guys tell me how to set the importance of the mail to High in CFMAIL tag
0
Comment
Question by:smuniasamy
[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
  • 4
  • 4
9 Comments
 

Expert Comment

by:bdemarzo
ID: 2613590
There's no way to do this using the CFMAIL tag, even with the latest version of CF (4.5).
0
 

Author Comment

by:smuniasamy
ID: 2613609
I am not sure. I would like to wait for other experts to say something about this
0
 
LVL 3

Expert Comment

by:dapperry
ID: 2625023
You would just add a new line to the SUBJECT attribute for it.  Heres an example:

        <cfmail to="joe@bazooka.com" from="me@me.com"
        subject="Hi there
Importance: High">

You can also use this method for other 'unattainable' attributes such as BCC and REPLY-TO.  Example=

        <cfmail to="joe@bazooka.com" from="me@me.com"
        subject="Hi there
Importance: High
BCC: secretadmirer@me.com
REPLY-TO: mymother2me.com">

Now I hope I have the syntax right.  If it doesn't work just change the colons to equal signs (Its 1 of those), so it might be Importance= High.  But I think its the former.

:) dapperry
0
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 

Author Comment

by:smuniasamy
ID: 2628270
I am afraid that ur way is not correct. It takes everything as the subject till it meets the quote. I tried : or = and all possible answers. I am still waiting. Thanks,

0
 
LVL 3

Expert Comment

by:dapperry
ID: 2629714
Sorry about that.  Its than darn Outlook which won't show me the real name of the header.  You want to use the same strategy but use:

X-Priority: 1 (Highest)
or
X-Priority: 2 (High)
or
X-Priority: 3 (Normal)
or
X-Priority: 4 (Low)
or
X-Priority: 5 (Lowest)

If it works for you, (as it should), you can just accept my comment as an answer.

:) dapperry
0
 

Author Comment

by:smuniasamy
ID: 2636517
I am afraid that the proposed way way is not working the way it is expected. It takes everything as the subject till it meets the quote. I tried : or = and all possible answers. I am still waiting.

P.S I even tried in the outlook directly by inserting X-Prioity: 1 . But there is no luck

If things work for u, could please send me the actual <cfmail> code.
Thanks,
0
 
LVL 3

Accepted Solution

by:
dapperry earned 10 total points
ID: 2637115
Ok - this worked for me,

<cfmail from="test@franchisesolutions.com"
            to="dperry@fransol.com"
            subject="Hello there - High
X-PRIORITY: 2 (High)">

This is a test
</cfmail>

Email has been sent.

Make sure that the line break is in there before X-PRIORITY, and that X-PRIORITY is at the beginning of the line.

:) dapperry
0
 

Author Comment

by:smuniasamy
ID: 2637163
drappery.. Thank u very much. It works very good. Could u tell me how this things are working from coldfusion side/MS Outlook side.

Thanks,
Samy.
0
 
LVL 3

Expert Comment

by:dapperry
ID: 2637197
I believe (don't quote me on this) that the mail server handles the hard carriage return in such a way that a new message header line is started.

:) dapperry
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

688 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