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

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$ > = EMAILTO
		Message<POS_TEXT$ > = Txt
		Message<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.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/0316d9ce0004aca1ee6948d00.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1