RTI_CDOMail (OpenInsight 32-Bit)
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