IBM Support

SYSTOOLS.SEND_EMAIL

News


Abstract

The SEND_EMAIL scalar function sends an email to one or more recipients. This is done by using the SNDSMTPEMM (Send SMTP E-mail Message) CL command.

This function assumes that the user invoking this function has been registered to the SMTP server by using the ADDUSRSMTP (Add User SMTP) CL command. If the SMTP server is not active, this function will attempt to start it before sending the email.

Content

For complete detail, visit this IBM Documentation page: SEND_EMAIL scalar function

Enhanced with IBM i 7.5 SF99950 Level 8 & IBM i 7.4 SF99704 Level 29:
  • An option allows specification of the type of body content
Enhanced with IBM i 7.5 SF99950 Level 7 & IBM i 7.4 SF99704 Level 28:
  • An email can be sent to multiple users and can contain multiple attachments
 

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000001go6AAA","label":"IBM i Db2-\u003ESQL Services \/ table functions"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.4.0;and future releases"}]

Document Information

Modified date:
27 March 2025

UID

ibm17031281