?
Solved

Set the importance(High) of the mail

Posted on 2000-03-09
9
Medium Priority
?
218 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
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 

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 40 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

752 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