Skip to main content

SendEMailEquip

Structure

SendEmailEquip(sTo,sCC,sBCC,sSubject,sAttach,sEmailName,sBody,bShowErrors,bShowConfirmation,sCompany,sID)

Parameters

ParameterTypeDescription
sToStringa list of email addresses where the email should be sent. If multiple emails are included, they should be delimited by semicolons.
sCCStringa list of email addresses where the email should be cc'd. If multiple emails are cc'd, they should be delimited by semicolons.
sBCCStringa list of email addresses where the email should be bcc'd. If multiple emails are bcc'd, they should be delimited by semicolons
sSubjectStringthe text subject for the email
sAttachStringtext of an exact file name (including directory) that should be included as an attachment on the email. Multiple files can be specified, use semicolon as delimiter between file names.
sEmailNameStringif an error occurs on email send, a log is made to the History log in Profile Manger. These history logs are saved with this email name, to allow different email types to be grouped.
sBodyStringthe text of the email. This text can contain multiple lines
bShowErrorsBooleanTrue or False boolean value. If true, any errors found upon email execution are shown to the user through a popup dialog
bShowConfirmationBooleanTrue or False boolean value. If true, a confirmation dialog is shown to the user after email is sent.
sCompanyStringCompany that should be associated with the email in the Sys. Admin. Log that is created (if applicable)
sIDStringI.D. that should be associated with the email in the Sys. Admin. Log that is created (if applicable)

Description

This function sends an email through the IndySoft email system, as defined on the 'EMail Settings' tab of User/Location Settings. Any errors occurred during the sending of the email are logged to Profile Manager History log, just as other emails in IndySoft. If a Sys. Admin. Log is created (because of System-Wide Preference) then this log will include the company/id from the final 2 parameters.

Example

No example provided