RetailTransactionService::sendEmail Method [AX 2012]

Send an email using the specified template.

server public static container sendEmail(
    SysEmailId emailId, 
    CustLanguageId languageId, 
    Email email, 
    str serializedMappings, 
    str xmlData, 
    boolean isTraceable, 
    boolean isWithRetries)

Run On

Server

Parameters

emailId
Type: SysEmailId Extended Data Type
The SysEmailMessageTable EmailId.
languageId
Type: CustLanguageId Extended Data Type
The Langauge of the email.
email
Type: Email Extended Data Type
The Email Address to send to.
serializedMappings
Type: str
The mappings to use in the substitution of tokens in the message.
xmlData
Type: str
The xml data to use in the transform of the message.
isTraceable
Type: boolean
Is the email traced.
isWithRetries
Type: boolean
Should the email be retried.

Return Value

Type: container
Container with the success and error.

Schedules an email to be sent by the email distribution batch job.

Show: