SendTransactionEmail Command

This command will send an email template with a specified TransactionNumber and optional Subject.

SendTransactionEmail Parameters


NameDirectionTypeDescription
TransactionNumber
int
TemplateName
string


[optional] Subject
string

Example

This will send an email for Transaction 1234 that uses the ExampleAddon e-mail template and sets the subject of the e-mail to "Aeon: This is an example e-mail subject". The default From and To addresses would be used.

ExecuteCommand("SendTransactionEmail", { 1234, "ExampleAddon", "Aeon: This is 
an example e-mail subject" });

This will send an email for Transaction 1234 that uses the ExampleAddon e-mail template and sets the subject of the e-mail to "Aeon: This is an example e-mail subject" that is sent to "abc@yourlibrary.edu" and is CC'd to "xyz@yourlibrary.edu". The default From address will be used; Note the *empty string* From Address parameter.

ExecuteCommand("SendTransactionEmail", { 1234, "ExampleAddon", "Aeon: This is 
an example e-mail subject", "abc@yourlibrary.edu", "", "xyz@yourlibrary.edu" } );