Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Warning
iconfalse

This function has been deprecated as of OI 9.4. Use RTI_SendMail instead

Description

Socket function used to send SMTP mail from an OpenInsight workstation.  Allows for the use of Multi-part MIME when sending email.

...

Code Block
Declare Function SMTPMAIL, Msg

html_document = "\html\my_html_file.htm"

mailservername = "my.mailserver.net"

Sendername = "info@revelation.com"

Recipient  = "someone@somewhere.com"

Subject = "An Example of the OpenInsight SMTPMAIL Function"

Body = ."A line of text."

Username = ""

Password = ""




retval = smtpmail(html_document, mailservername, sendername, recipient, subject, body, username, password)

Convert @vm To '-' In retval

Convert @fm To '|' In retval

x = Msg(@Window, 'Retval was |':retval)

...