dbTalk Databases Forums  

using cdo for email

comp.databases.ms-access comp.databases.ms-access


Discuss using cdo for email in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bobh
 
Posts: n/a

Default using cdo for email - 03-17-2010 , 02:51 PM






Hi All,

I've got most of what I need to send email from AccessXP using CDO,
the one thing I'm missing is does CDO have a 'priority' attribute??

ex: .Priority = CDOHigh

while I'm here does CDO have a preview/display attribute
ex:
if strDisply = False then
..Send
else
..Display
end if

thanks
bobh.

Reply With Quote
  #2  
Old   
Stuart McCall
 
Posts: n/a

Default Re: using cdo for email - 03-17-2010 , 05:40 PM






"bobh" <vulcaned (AT) yahoo (DOT) com> wrote

Quote:
Hi All,

I've got most of what I need to send email from AccessXP using CDO,
the one thing I'm missing is does CDO have a 'priority' attribute??

ex: .Priority = CDOHigh
'In the following, oMsg refers to a CDO.Message

Const HDR_PREFIX = "urn:schemas:mailheader:"

'you can set "high", "normal", "low" for this field
oMsg.Fields.Item(HDR_PREFIX & "importance").Value = "high"

'you can set 1, 0 , -1 for this field
oMsg.Fields.Item(HDR_PREFIX & "priority").Value = 1

oMsg.Fields.Update()

Quote:
while I'm here does CDO have a preview/display attribute
ex:
if strDisply = False then
.Send
else
.Display
end if
No. CDO knows nothing of displays. The preview will be handled by the
default mail handler.

Quote:
thanks
bobh.

Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.