Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 08 FEB 2011 04:43:43PM Barry Stevens wrote:

I have MAPISendMail with *attachments* and flags set to MAPI_LOGON_UI$.

All works well and the email 'dialog' comes up. BUT, I need the email dialog to be be in 'html' to allow text formatting.

How can I do that.


At 09 FEB 2011 11:08PM Eric wrote:

SMTPMAIL does it.

I think the calling parameters are:

smtpmail(html_document,mailservername,sendername,recipient,subject,body)

The first parameter is the name of the html document file on disk. If your images are imbedded as filename tags then the image files will be read from disk also and appended/encoded.


At 10 FEB 2011 07:55AM David Goddard wrote:

OpenInsight implements SimpleMAPI which is text only.

Follow Eric's suggestion and use SMTPMAIL.

If you are using OI 9.2 you many also try RTI_CDOMAIL. Not sure if this supports html?

There is also a post in the works forum about using OLE to send mail via MS Outlook.


At 10 FEB 2011 03:19PM Barry Stevens wrote:

I am wanting the "outlook email 'dialog' " to come up.


At 10 FEB 2011 04:12PM Eric wrote:

Couldn't you emulate the dialogue? Or do you want the address book etc?

MAPI didn't do multi-part mime format emails very well at the time SMTPMAIL was written. SMTPMAIL was written so I could send myself Viagra spam and get really excited at the pictures and amazing fonts.

The reason you need multi-part mime format is because you want the images to exist as data inside the message along with the html page which points to those images (using the CID: tag). Internal HTML pointers.

It's pretty interesting stuff (if you like sodokus, scrabble, and boolean matrices).

The issues are around compatibility - your emails need to be viewed in Hotmail, Thunderbird, Gmail, AOL reader, Outlook and Outlook Express for compatibility purposes.


At 10 FEB 2011 07:19PM Barry Stevens wrote:

]]Couldn't you emulate the dialogue?

First thing I thought of, but , what about font formatting etc

]]The issues are around compatibility - your emails need to be viewed in Hotmail, Thunderbird, Gmail, AOL reader, Outlook and Outlook Express for compatibility purposes.

??So therefore


At 10 FEB 2011 07:23PM Barry Stevens wrote:

RE RTI_CDOMAIL Are the Mailserver, username, Password the ones from outlook account settings….cause not working for me.


At 11 FEB 2011 01:54AM Barry Stevens wrote:

OK, I got the SMPTMAIL to work.

Still not what I really want, so I will do my own email dialog box for the user text entry so that I can send multiple pdf file attachments via MAPISendMail

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/4b71e4c9656452588525783100775c2c.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1