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 18 SEP 2009 10:49:00AM John Bouley wrote:

In 9.1 there is a new function that looks like a replacement to SENDMAIL. Is there a replacement to SMTPMail?

Thanks,

John


At 18 SEP 2009 01:40PM Bob Carten wrote:

Hi John,

RTI_CDOMail is a wrapper around the Microsoft CDO.Message object.

CDO.Message is available on Windows 2000 and Above.

It will work with an SMTP server. The prototype looks like:

call rti_CDOMail(mailservername, sendername, recipient, subject, body,cc, bcc, replyto, content, attachmentfilelist, Username, Password, useSSL)

A chief benefit is that it can connect to SMTP servers that require authentication and or an SSL connection.


At 18 SEP 2009 01:55PM John Bouley wrote:

Hi Bob,

The main reason for my asking is the SMTPMail function is used to pass an HTML file as the body of the message. How would you accomplish the same task using this function? Can we just OSRead the file and pass it in as body? Will it take embedded images and attach them to the message using cid: tags?

John

View this thread on the Works forum...

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