A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Requesting a Read Receipt in vbScript



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 12th 06, 05:53 PM posted to microsoft.public.outlook.program_forms
A Don
external usenet poster
 
Posts: 7
Default Requesting a Read Receipt in vbScript

Hi Folks,

Does anyone have any idea how I would add a read receipt using vbScript.
(Outlook 2003?)

Long story but I have basically designed a form which is sent to the
recipient in the body of the email.

The code I have is as follows for the conversion of the form

Sub SimpleText()
Dim oForm, strBody
Set oForm = Application.CreateItem(0)
oForm.To = sTo ' sTo is a text box disguised as the TO field
oForm.Subject = Subject


strBody = "DETAILS:" & vbCrLf & vbCrLf & _

' message body is input here



oForm.Body = strBody

oForm.Send
Set oForm = Nothing
End Sub

Ther e is further code which fires the SUb Simpletext once validation has
been caried out.

Any help would be much appreciated

Thanks


  #2  
Old July 13th 06, 01:23 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Requesting a Read Receipt in vbScript

When in doubt, check the object browser: Press ALt+F11 to open the VBA environment in Outlook, then press F2. Switch from All Libraries to Outlook to browse all Outlook objects and their properties, methods, and events. Select any object or member, then press F1 to see its Help topic.

You'll find the property you're looking for under the MailItem object.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"A Don" wrote in message ...
Hi Folks,

Does anyone have any idea how I would add a read receipt using vbScript.
(Outlook 2003?)

Long story but I have basically designed a form which is sent to the
recipient in the body of the email.

The code I have is as follows for the conversion of the form

Sub SimpleText()
Dim oForm, strBody
Set oForm = Application.CreateItem(0)
oForm.To = sTo ' sTo is a text box disguised as the TO field
oForm.Subject = Subject


strBody = "DETAILS:" & vbCrLf & vbCrLf & _

' message body is input here



oForm.Body = strBody

oForm.Send
Set oForm = Nothing
End Sub

Ther e is further code which fires the SUb Simpletext once validation has
been caried out.

Any help would be much appreciated

Thanks


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Read Receipt Button Jim Outlook - General Queries 1 July 8th 06 09:19 AM
Getting a delivery and read receipt. Aker Universitetssykehus Outlook - Calandaring 0 June 22nd 06 12:04 PM
verify that an email was read without using a receipt RCNellis Outlook - General Queries 1 May 12th 06 05:02 PM
Read Receipt jeffatsc Outlook - Installation 0 March 28th 06 06:03 PM
Sending a read receipt Fishmanboy Outlook - General Queries 4 March 13th 06 05:03 PM


All times are GMT +1. The time now is 01:30 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.