Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.2 Online Documentation (MoTW) Revision 3
EM_SEND_EMAIL Function (DataBasic Email API) (em_send_email.htm)
Sends the email that has been constructed using the defined connection information.
Returns TRUE or FALSE.
EM_SEND_EMAIL()
EM_SEND_EMAIL returns TRUE if successful or FALSE if unsuccessful. If FALSE, the details of the failure can be found by inspecting the error number held in the common variable EM_ERROR_DETAILS.
You must include the item #EM_INCLUDES
in all programs that use the Email API functions; for example, you could add the line
INCLUDE #EM_INCLUDES FROM /SYSFILES/SYS.BASLIB
at the start of the program, or create an item to be automatically included that contains this line.