smuniasamy
asked on
Set the importance(High) of the mail
could u guys tell me how to set the importance of the mail to High in CFMAIL tag
There's no way to do this using the CFMAIL tag, even with the latest version of CF (4.5).
ASKER
I am not sure. I would like to wait for other experts to say something about this
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
<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
ASKER
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,
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
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
ASKER
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,
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,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
Thanks,
Samy.
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
:) dapperry