Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Old 05-04-2006, 07:50 AM Set Importance Level
Experienced Talker

Posts: 38
Trades: 0
Hi,

I have been going through Google in order to find a way to set the importance level on my sendmail script but have had no luck. I thought it was as simple as this

.From = "blah@blah.com"
.To = Request("sendto")
.Subject = "Subject"
.TextBody = Request("body")
.Importance = 2
.Send()

But that does not seem to work. Any ideas?

Thanks,
James
phreakyphonez is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-04-2006, 12:16 PM Re: Set Importance Level
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
I'm assuming you're using CDO for your mail send.

Try this:

.Fields("urn:schemas:httpmail:importance").Value = 2
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 05-04-2006, 01:23 PM Re: Set Importance Level
Experienced Talker

Posts: 38
Trades: 0
Thanks. That did work but it does not seem to deliver to any email addy any quicker.. but thatnk again for your help.
phreakyphonez is offline
Reply With Quote
View Public Profile
 
Old 05-04-2006, 05:12 PM Re: Set Importance Level
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
that isn't what the "importance" header does.

It's used at the mail client to mark a message as important.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-09-2006, 09:06 AM Re: Set Importance Level
vivekar's Avatar
Webmaster Talker

Posts: 612
Trades: 0
Mail marked with Importance high does not mean that it will be sent on priority. SMTP server will not process based on it. If that is there, then it is a boon. ( I wish I had this option on my SMTP Server. )

It is for the user to check that message on priority, i.e. the mail client will/can display the message to the user which is flagged as high importance on a priority basis.
__________________

Please login or register to view this content. Registration is FREE
(Active since 2003) |
Please login or register to view this content. Registration is FREE
vivekar is offline
Reply With Quote
View Public Profile Visit vivekar's homepage!
 
Old 05-09-2006, 12:24 PM Re: Set Importance Level
Experienced Talker

Posts: 38
Trades: 0
Ok thanks people. That helped a lot and is all working fine now.
phreakyphonez is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Set Importance Level
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23804 seconds with 12 queries