hook_mail_types()
ecommerce-5--4/docs/developer/hooks/core.php, line 365
Define the type of Mail that can be sent.
Implement this hook to create additional mail types that can be managed by the user and called by your code.
<?php
function hook_mail_types() {
return array(
ECMAIL_TYPE_CUSTOMER_INVOICE => t('Customer invoice'),
ECMAIL_TYPE_PROCESSING_ERROR => t('Processing error notification'),
ECMAIL_TYPE_CANCEL_TXN => t('Transaction cancelled notice'),
ECMAIL_TYPE_ASK_CUSTOMER => t('Query to customer'),
);
}
?>