Code for Sub to Request Delivery Receipt and Read Receipt

I have some code behind a button on my Form that performs some Outlook functionality.  What I need is the code to do 2 additional things which are currently done manually.  Currently the user checks in Outlook Request a Delivery Receipt for this message and Request a Read Receipt for this message.  How can i set this in code i.e.

MyMail.(Property or code to Request a Delivery Receipt for this message)
MyMail.(Property or code to Request a Read Receipt for this message)


****Code so far*********

On Error GoTo Err_Command5_Click
 Dim MyOutlook   As Outlook.Application
  Dim MyMail      As Outlook.MailItem
  Dim MyBodyText  As String
  Dim frm         As Form
  Dim ctl         As Control
  Dim varItem     As Variant
  Dim strSql      As String
  Dim myattachments    As Variant
  Dim lItemCount  As Long
  Dim mailStationery As String
  'send email with spreadsheet

  Set MyOutlook = New Outlook.Application
  Set MyMail = MyOutlook.CreateItem(olMailItem)
  MyMail.To = Text1
  MyMail.CC = ""
  MyMail.BCC = ""
  MyMail.BodyFormat = olFormatHTML
  MyMail.Subject = "All Managers"
  'MyBodyText = "Here is the document"
  'Set myattachments = MyMail.Attachments
  'myattachments.Add "C:\JetComp.doc"
  MyMail.SentOnBehalfOfName = "Review"
  'put the HTML code for the stationery to a variable and then assign
  'it to the HTMLBody
MyMail.Body = Text2
  'MyMail.HTMLBody = "<HTML><HEAD>My HTML Background</HEAD>" & _
    "<BODY bgcolor=Green></BODY></HTML>"

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patrick MatthewsCommented:
Hi charming,

With MyMail
    .ReadReceiptRequested = True
    .OriginatorDeliveryReportRequested = True
End With



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.