{{tag>category:"OpenInsight 32-bit" author:"Debbie Cornett" author:"Bob Orsini"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== MAPI SendMail and Attachments (OpenInsight 32-bit) ====
=== At 05 OCT 2011 08:19:28AM Debbie Cornett wrote: ===
Does the attachment feature for MAPI SendMail work? I get the following result -
OIMAPI12 Attachment Open Failure
This is my code:
Message = EMAILTO
Message = Txt
Message = MAPI_RECEIPT_REQUESTED$
Message = "IPM.Microsoft Mail.Note"
Message = "debbie.jpg"
Message = "C:/"
Message = "1"
I am sure C:/debbie.jpg exists.
----
=== At 05 OCT 2011 08:39AM Bob Orsini wrote: ===
YOU MUST HAVE BOTH PATH AND FILENAME IN THE FILE AND PATH.
Message = "C:\debbie.jpg"
Message = "C:\debbie.jpg"
You also might look at sendmail command which does not need the mapi dll.
----
=== At 05 OCT 2011 08:58AM Debbie Cornett wrote: ===
Ah -- that worked - thanks.
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=0316D9CE0004ACA1EE6948D00|View this thread on the Works forum...]]