dbTalk Databases Forums  

Outlook Read Receipt

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


Discuss Outlook Read Receipt in the comp.databases.ms-access forum.



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

Default Outlook Read Receipt - 05-28-2010 , 10:51 AM






I've been trying to find a way to check whether emails (sent via
Outlook) have a Read Receipt - and getting nowhere.

A 2003 and Outlook 2003.

Please is anyone able to give me a start?

Thanks.

Jeff B

Reply With Quote
  #2  
Old   
paii, Ron
 
Posts: n/a

Default Re: Outlook Read Receipt - 05-28-2010 , 01:31 PM






If your looking to sent email though Outlook from Access, I use the
following function.
Note I set ReadReceiptRequested = True

If checking Outlook; try temporally setting a reference to Outlook and stat
poking around. also try searching for info on CreateObject. "MAPI",
Outlook.Application, ect.

'---------------------
' Create a email with attachments
' stSendTo Email address
' stBody Body of the message
' stSubject Subject of the message
' astAttach Array of strings listing the path to the attachments
' intAcount Number of attachments
' intSend True if the message should be sent without preview

Public Function EmailAttach(ByRef stSendTo As String, ByRef stBody As
String, ByRef stSubject As String, _
astAttach() As String, intAcount As
Integer, intSend As Integer) As Integer

On Error GoTo errEmailAttach

Dim oLook As Object
Dim oMail As Object
Dim i As Integer

Set oLook = CreateObject("Outlook.Application")
Set oMail = oLook.CreateItem(0)
With oMail
.To = stSendTo
.Body = stBody
.Subject = stSubject
.ReadReceiptRequested = True

If intAcount <> 0 Then
For i = 1 To intAcount
.Attachments.Add (astAttach(i - 1))
Next
End If

If intSend = True Then
.Send
Else
.Display
End If

End With

Set oMail = Nothing
Set oLook = Nothing
EmailAttach = True
Exit Function

errEmailAttach:

MsgBox "The following error was noted : " & Err.Description & Chr$(10) &
Chr$(13) & _
"Your email may not have been sent.", vbCritical, "Error"

On Error Resume Next
Set oMail = Nothing
Set oLook = Nothing
Pai1_emailAttach = False

End Function




"jbguernsey" <jeff (AT) angelsystems (DOT) co.uk> wrote

Quote:
I've been trying to find a way to check whether emails (sent via
Outlook) have a Read Receipt - and getting nowhere.

A 2003 and Outlook 2003.

Please is anyone able to give me a start?

Thanks.

Jeff B

Reply With Quote
  #3  
Old   
Salad
 
Posts: n/a

Default Re: Outlook Read Receipt - 05-28-2010 , 01:34 PM



jbguernsey wrote:
Quote:
I've been trying to find a way to check whether emails (sent via
Outlook) have a Read Receipt - and getting nowhere.

A 2003 and Outlook 2003.

Please is anyone able to give me a start?

Thanks.

Jeff B
http://www.devnewsgroups.net/officed...s-outlook.aspx

You might also ask in microsoft.public.outlook or similar group.

Reply With Quote
  #4  
Old   
jbguernsey
 
Posts: n/a

Default Re: Outlook Read Receipt - 05-31-2010 , 02:39 PM



On May 28, 6:34*pm, Salad <sa... (AT) oilandvinegar (DOT) com> wrote:
Quote:
jbguernsey wrote:
I've been trying to find a way to check whether emails (sent via
Outlook) have a Read Receipt - and getting nowhere.

A 2003 and Outlook 2003.

Please is anyone able to give me a start?

Thanks.

Jeff B

http://www.devnewsgroups.net/officed...ad-receipts-ou...

You might also ask in microsoft.public.outlook or similar group.
Thanks Salad. I'll have a go with the stuff you sent me.

Thank you Ron for your reply. Unfortunately I'm trying to discover
the status of the Readreceipt in existing (sent) emails, not trying to
send them (that's already been done).

Jeff B.

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.