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 22 JAN 2003 06:58:04PM Barry Stevens wrote:

Are there any parameter differences in using MapiSendmail (with Attachments)for Outlook in Win98 and Win2000.

Barry


At 23 JAN 2003 05:23AM Richard Bright wrote:

Have just been setting up Mapi sendmail including attachments in OI4.12 - WinXP / Win2000 environment with Outlook. Works a treat. I assume there has been no (external) changes to parameters. Just look at the equates, the help doc and the Example application.

from Rev Example + attachment * Flags=MAPI_LOGON_UI$ Message=' Message=Your Invoice" Message=email_address Message=Txt Message=Flags Message=IPM.Microsoft Mail.Note" Message=Field(FileLocn,'\',Count(FileLocn,'\')+1) Message=FileLocn Message= 1 x=Set_Status(0) check=MAPILogon(session_id, parent, , , flags) if Get_Status(ErrCode) then Call FsMsg() end if check then FLAGS=' Flags=MAPI_LOGON_UI$ + MAPI_DIALOG$ if MAPISendMail(session_id, 0, Flags, Message) then x=Msg(@window, "Message sent successfully!") end else x=Get_Status(ErrMsg) x=Msg(@window, ErrMsg) end End else x=Get_Status(ErrMsg) x=Msg(@window, ErrMsg) End x=MapiLogoff(Session_id) Note that File_Path is full path incl file name ***

Richard Bright

BrightIdeas New Zealand


At 23 JAN 2003 07:43PM Barry Stevens wrote:

Thanks for that.

A few different settings from my examples base…Works OK here, I will try at user site.

Baz


At 24 JAN 2003 03:01AM Richard Bright wrote:

Only three - the File_Path, File and File_Pos.

The help doc is just a tad obscure, needed to experiment for a few minutes to get an understanding of the thing. In my case I am creating an Invoice as pdf using OIPI then attaching it to an email created on the fly. Works great everything automated.

View this thread on the Works forum...

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