Specificly, I'm trying to recieve and send mail using MS Internet Mail,
from Microsoff Access 97. I want to control Internet Mail automaticly to
open new mail, save attachments and send and recieve mail.
MS Access "SendObject" is no use.
Thanks
Josef
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
You can use our IDSMail control from within MS Access to send/receive
Internet mail. IDSMail is a universal E-mail component that supports
SMTP/POP3 (Internet mail), MAPI, VIM, MHS, and Banyan VINES.
For example, to send an Internet mail message with a file attachment,
here is all the code you would need:
Dim idsMail as Object
Set idsMail = CreateObject("IDSMailInterface.Server")
idsMail.ObjectKey = "ABC123"
idsMail.MailSystem =IDSM_SYS_SMTP_POP
idsMail.SMTPServer = "myprovider.com"
idsMail.NewMessage
idsMail.From = "MyName <m...@mycompany.com>"
idsMail.AddRecipientTo "Jim Smith <jsm...@acme.com>"
idsMail.AddRecipientCc "Mary Brown <ma...@congress.gov>"
idsMail.Subject = "Meeting Agenda"
idsMail.Message = "Here is the agenda for the weekly meeting."
idsMail.AddAttachment "C:\MEETINGS\AGENDA.DOC"
idsMail.Send
For more info on IDSMail, go to http://www.intuitive-data.com
--
Regards,
Eric June
Intuitive Data Solutions
--------- We Make OLE Servers Intuitive --------------
Eric June ej...@intuitive-data.com
Intuitive Data Solutions fax: (408) 776-1267
Send/Rcv Email *EASILY* through SMTP/POP, VIM, MAPI,
MHS & VINES http://www.intuitive-data.com/idsmail.htm
------------------------------------------------------
I have a "MAPI96.HLP" MS Help file that describes the MAPISession and
MAPIMessage object models (properties, methods, etc) in my
\winnt\system32 directory. It seems to be very complete.
If you want, I can send it to you. Please let me know directly, as I
don't get to this list as frequently as I'd like.
--
Bruce Kube
Systems Analyst
Trendstat Capital Management, Inc.
(Please fix return address if responding directly via e-mail.)