Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
I know to do this I need to use MAPI, but I can't seem to find a way to
do this with VBA.
up vote 3 down vote Any help would be appreciated
favorite
Thanks,
Scott
ms-access vba outlook
edited Aug 7 '09 at asked Jul 16 '09 at
21:22 14:06
shareimprove this
question
Fionnuala Scott
76.9k665110 925
add a comment
3 Answers
active oldest votes
up vote
2 down If you can live with requiring CDO to be present on the machine, and you don't
vote
mind a user-provided SMTP server, you can use that. Just google for some example
accepted code, but for you convenience I'll paste some below from www.rondebruin.nl :
Sub
Dim
Dim
Dim
'
CDO_Mail_Small_Text()
iMsg As Object
iConf As Object
strbody As String
Dim Flds As Variant
hh:mm")
.ReadReceiptRequested = False
.Send
End With
Kill strFileName
Mitch Wheat
214k28345442
Which is a great resource, but contains no actual answer to the question.
Although I must say I don't think an answer satisfying all posed retrictions
exists. Paul-Jan Jul 16 '09 at 18:23
add a comment
See the page Microsoft Access Email FAQ - Directly via the Winsock I haven't
up vote 0
tried those myself but you should be able to adapt the VB6 code to send the emails
down vote
directly.