
I want help with Mapi32.dll
Hello,
You need to call VBAMAP32.DLL instead of calling MAPI32.DLL
directly. Search MSKB for that file. The data structures in
MAPI32.DLL are not all compatible with VB, VBAMAP32.DLL solves
that problem.
Alternatively, you can use our IDSMail component instead. For
example, here is all the code you would need to send a message
with a file attachment:
Dim idsMail as Object
Set idsMail = CreateObject("IDSMailInterface.Server")
idsMail.ObjectKey = "ABC123"
idsMail.NewMessage
idsMail.AddRecipientTo "Jim Smith"
idsMail.AddRecipientCc "Mary Brown, Doug Williams"
idsMail.Subject = "Meeting Agenda"
idsMail.Message = "Here is the agenda for the weekly meeting."
idsMail.AddAttachment "C:\MEETINGS\AGENDA.DOC"
idsMail.Send
Info at http://www.*-*-*.com/
--
Regards,
Eric June
Intuitive Data Solutions
--------- We Make OLE Servers Intuitive --------------
Intuitive Data Solutions fax: (408) 776-1267
Send/Rcv Email *EASILY* through SMTP/POP, VIM, MAPI,
MHS & VINES http://www.*-*-*.com/
------------------------------------------------------