Solved

Set the importance(High) of the mail

Posted on 2000-03-09
9
208 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
  • 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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 …
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

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