|
author
|
Romy Nemack romy.nemack@unitedprint.com
usage for html mails
sendEmail([
"subject" => "My Subject",
"message_code" => "REPO", -> Mailing List Message Code
"initiator" => config('up.cms_account_id'), -> optional, is used as from
"view" => "mails.internal.upInternalMailCms",
"viewDataArray" => [], -> contains all data which is used in the selected view
]);
usage for text mails
sendEmail([
"subject" => "My Subject",
"message_code" => "REPO", -> Mailing List Message Code
"initiator" => config('up.cms_account_id'), -> optional, is used as from
"text" => "My Text", -> send this text as textmail
]);
Please note before changing:
Do not use TextTranslationLibrary or LoggableMailTrait. UpInternalMail is only for Administration/CMS
usage. All Frontend configs like portal, language, country, orderId, orderLineId,
orderHeaderId, partyId, customerNumber are not set. If you need this information,
you can resolve it before inserting it into the email text.
|