Versions Compared

Key

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

...

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)

...