473,321 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

cdo importance syntax or sintax

The code below gives an error.
Object doesn't support this property or method: 'myMail.Importance'

How do I set importance on an email? Everywhere I have looked it looks like
my syntax is right but is it?

Thanks
Mike

Set myMail = CreateObject("CDO.Message")
myMail.From = "Th*********@ThePound.com"
myMail.To = "my*****@ppdi.com"
myMail.Subject = "Test"
myMail.Importance = 2
myMail.HTMLBody = "Test of Importance"
myMail.Send
Set myMail = Nothing
Jul 19 '05 #1
3 5488
Found this
MyMail.Fields("urn:schemas:httpmail:importance").V alue = 2
It sends the mail but does not set importance?

Mike

"Mike D" <Mi***@nospam.com> wrote in message
news:eS**************@TK2MSFTNGP11.phx.gbl...
The code below gives an error.
Object doesn't support this property or method: 'myMail.Importance'

How do I set importance on an email? Everywhere I have looked it looks like my syntax is right but is it?

Thanks
Mike

Set myMail = CreateObject("CDO.Message")
myMail.From = "Th*********@ThePound.com"
myMail.To = "my*****@ppdi.com"
myMail.Subject = "Test"
myMail.Importance = 2
myMail.HTMLBody = "Test of Importance"
myMail.Send
Set myMail = Nothing

Jul 19 '05 #2
http://www.aspfaq.com/2315

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Mike D" <Mi***@nospam.com> wrote in message
news:OU**************@TK2MSFTNGP12.phx.gbl...
Found this
MyMail.Fields("urn:schemas:httpmail:importance").V alue = 2
It sends the mail but does not set importance?

Mike

"Mike D" <Mi***@nospam.com> wrote in message
news:eS**************@TK2MSFTNGP11.phx.gbl...
The code below gives an error.
Object doesn't support this property or method: 'myMail.Importance'

How do I set importance on an email? Everywhere I have looked it looks

like
my syntax is right but is it?

Thanks
Mike

Set myMail = CreateObject("CDO.Message")
myMail.From = "Th*********@ThePound.com"
myMail.To = "my*****@ppdi.com"
myMail.Subject = "Test"
myMail.Importance = 2
myMail.HTMLBody = "Test of Importance"
myMail.Send
Set myMail = Nothing


Jul 19 '05 #3
Aaron that was the first place I looked. Using the code from that site I
get
Object doesn't support this property or method: 'cdoMessage.Importance'

With the importance line texted out I get
error '8004020f'

Now I am really confused

I set
cdoConfig.Fields.Item(sch & "sendusing") = 1
and still texted out the importance line and the email comes through with
high importance. If I uncomment the importance line it fails again???
Mike
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:u7**************@TK2MSFTNGP12.phx.gbl...
http://www.aspfaq.com/2315

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Mike D" <Mi***@nospam.com> wrote in message
news:OU**************@TK2MSFTNGP12.phx.gbl...
Found this
MyMail.Fields("urn:schemas:httpmail:importance").V alue = 2
It sends the mail but does not set importance?

Mike

"Mike D" <Mi***@nospam.com> wrote in message
news:eS**************@TK2MSFTNGP11.phx.gbl...
The code below gives an error.
Object doesn't support this property or method: 'myMail.Importance'

How do I set importance on an email? Everywhere I have looked it
looks like
my syntax is right but is it?

Thanks
Mike

Set myMail = CreateObject("CDO.Message")
myMail.From = "Th*********@ThePound.com"
myMail.To = "my*****@ppdi.com"
myMail.Subject = "Test"
myMail.Importance = 2
myMail.HTMLBody = "Test of Importance"
myMail.Send
Set myMail = Nothing



Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
by: Paul McGuire | last post by:
Well, after 3 days of open polling, the number of additional votes have dropped off pretty dramatically. Here are the results so far: Total voters: 55 (with 3 votes each) Votes for each choice...
1
by: middletree | last post by:
I've been using CDO to send an email with an Intranet app I have. Can't for the life of me remember where I got this code: .Importance = 1 ' Normal .BodyFormat = 1 ' Plain text .MailFormat =...
3
by: Jason Kistler | last post by:
I am having some serious issues trying to set the "importance" of an ASP email. I am using the CDO.Message object. Here is the code: <% Dim recipients recipients = Request.Form("Jason") &...
1
by: simon | last post by:
This works in VB: <td <%# myFunction(DataBinder.Eval(Container.DataItem,"column1"))%>> but in C# doesn't. What is the right sintax to include some text between the html tag in C#? I can't...
0
by: Mikey | last post by:
This sample code demonstrates how to send an email message using CDO and have it set the Outlook Importance property and the Outlook Follow Up reminder attributes in the recipient's InBox. The...
3
by: Manuel | last post by:
I'm trying to compile glut 3.7.6 (dowbloaded from official site)using devc++. So I've imported the glut32.dsp into devc++, included manually some headers, and start to compile. It return a very...
2
by: Donny Riyadi | last post by:
Hi all, any idea, how to make a sql query, which the results can be ordered by the importance ? FOr example if I search a table which contains a list of meta tags of websites. I want, that the...
7
by: InuY4sha | last post by:
Hi all :) sorry.. I know this is a very mean question but I can't get the following couple of lines: static int dev_init(struct net_device *dev); struct net_device my_device = { init: dev_init,...
1
by: Whyatt | last post by:
Hi all, I'm trying to create a message using SMTP Mail through Python with a message Importance of either 0 (Low) or 2 (High). If I do outer.Add_header('Importance', '0') it is ignored. If...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.