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<POS_TO$ > = EMAILTOMessage<POS_TEXT$ > = TxtMessage<POS_FLAGS$ > = MAPI_RECEIPT_REQUESTED$Message<POS_TYPE$ > = "IPM.Microsoft Mail.Note"Message<POS_FILES$ > = "debbie.jpg"Message<POS_PATHS$ > = "C:/"Message<POS_POSITIONS$ > = "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<POS_FILES$ > = "C:\debbie.jpg"
Message<POS_PATHS$ > = "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.