Share via


RetailTransactionService::sendEmail Method [AX 2012]

Send an email using the specified template.

Syntax

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

Run On

Server

Parameters

  • 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.

Remarks

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

See Also

Reference

RetailTransactionService Class