Solved

Set the importance(High) of the mail

Posted on 2000-03-09
9
210 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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
assigning port numbers to web sites and web services 2 78
Nameserver and MX Record 2 77
whm high memory usage in processes 7 103
Domino Website - Redirection 12 84
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

856 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