Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
DS DS is offline
external usenet poster
 
Posts: 117
Default Attaching a Read Receipt to Outlook E-mail

Afternoon all,

I'm using some of RDB's code, suitably modified, to send e-mails via an
Excel / VBA control. All works just fine for sending multiple workbooks to
multiple locations, etc etc.

However, I've just had a spanner thrown in the works, in that these now
require Read Receipts attached to the e-mails.

This is the basic create / send routine after the body, title etc has been
created:

With OutMail
.SentOnBehalfOfName = """Mike"" "
.To = "
.CC = ""
.BCC = ""
.Subject = "Details as Requested"
.Body = strbody
.Display
Application.Wait (Now + TimeValue("0:00:02"))
Application.SendKeys "%S"
End With

I figure that I need to add in something along the lines of:
.AttachReadReceipt = True

unfortunately, every combination I can think of and have tried is not
actually attaching one.

Can anyone advise what I should use for this?

Many Thanks in Advance,
Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Attaching a Read Receipt to Outlook E-mail

Hi DS

See the tips page
http://www.rondebruin.nl/mail/tips2.htm

You can use

Set Importance

' 0 = Low, 2 = High, 1 = Normal
.Importance = 2


ReadReceiptRequest

.ReadReceiptRequested = True



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"DS" wrote in message ...
Afternoon all,

I'm using some of RDB's code, suitably modified, to send e-mails via an
Excel / VBA control. All works just fine for sending multiple workbooks to
multiple locations, etc etc.

However, I've just had a spanner thrown in the works, in that these now
require Read Receipts attached to the e-mails.

This is the basic create / send routine after the body, title etc has been
created:

With OutMail
.SentOnBehalfOfName = """Mike"" "
.To = "
.CC = ""
.BCC = ""
.Subject = "Details as Requested"
.Body = strbody
.Display
Application.Wait (Now + TimeValue("0:00:02"))
Application.SendKeys "%S"
End With

I figure that I need to add in something along the lines of:
.AttachReadReceipt = True

unfortunately, every combination I can think of and have tried is not
actually attaching one.

Can anyone advise what I should use for this?

Many Thanks in Advance,
Mike

  #3   Report Post  
Posted to microsoft.public.excel.programming
DS DS is offline
external usenet poster
 
Posts: 117
Default Attaching a Read Receipt to Outlook E-mail

Ron, once again I am in your debt.... works like a charm, thank you.
Mike

"Ron de Bruin" wrote:

Hi DS

See the tips page
http://www.rondebruin.nl/mail/tips2.htm

You can use

Set Importance

' 0 = Low, 2 = High, 1 = Normal
.Importance = 2


ReadReceiptRequest

.ReadReceiptRequested = True



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"DS" wrote in message ...
Afternoon all,

I'm using some of RDB's code, suitably modified, to send e-mails via an
Excel / VBA control. All works just fine for sending multiple workbooks to
multiple locations, etc etc.

However, I've just had a spanner thrown in the works, in that these now
require Read Receipts attached to the e-mails.

This is the basic create / send routine after the body, title etc has been
created:

With OutMail
.SentOnBehalfOfName = """Mike"" "
.To = "
.CC = ""
.BCC = ""
.Subject = "Details as Requested"
.Body = strbody
.Display
Application.Wait (Now + TimeValue("0:00:02"))
Application.SendKeys "%S"
End With

I figure that I need to add in something along the lines of:
.AttachReadReceipt = True

unfortunately, every combination I can think of and have tried is not
actually attaching one.

Can anyone advise what I should use for this?

Many Thanks in Advance,
Mike


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
email macro read receipt Pam M Excel Programming 2 October 26th 07 12:57 PM
Coding email with 'read receipt' requested in VBA Phrank Excel Programming 3 February 1st 07 03:14 AM
read receipts from Outlook Mail Nicole Seibert Excel Programming 0 July 7th 06 03:56 PM
Adding read receipt to CDO code? [email protected] Excel Programming 1 January 12th 06 07:30 PM
delete blocked senders messages on receipt why junk mail them? yralih Excel Discussion (Misc queries) 1 July 17th 05 01:09 AM


All times are GMT +1. The time now is 10:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"