SetSmtp

The SetSmtp function sets the SMTP server to be used.

Syntax

Important: This feature is deprecated, its use is discouraged although not prohibited.
CALL ui.Interface.frontCall("WinMail","SetSmtp",
 [ id, smtp:port ], [ result ] )
  • id is the message identifier.
  • smtp is the string text containing the SMTP server to be used.
  • port is optional. It allows to specify a port for your SMTP server. When not specified, the default port remains 25.
  • result is the status of the function.