MailerFactory
class MailerFactory
Class MailerFactory
Methods
__construct(
EventDispatcherInterface $dispatcher,
ParserInterface $parser)
No description
send(
Swift_Mime_Message $message, $failedRecipients = null)
No description
getSwiftMailer()
No description
sendEmailToCustomer(
string $messageCode,
Customer $customer,
array $messageParameters = array())
Send a message to the customer.
sendEmailToShopManagers(
string $messageCode,
array $messageParameters = array(),
array $replyTo = array())
Send a message to the shop managers.
sendEmailMessage(
string $messageCode,
array $from,
array $to,
array $messageParameters = array(),
string $locale = null,
array $cc = array(),
array $bcc = array(),
array $replyTo = array())
Send a message to the customer.
Swift_Message
createEmailMessage(
string $messageCode,
array $from,
array $to,
array $messageParameters = array(),
string $locale = null,
array $cc = array(),
array $bcc = array(),
array $replyTo = array())
Create a SwiftMessage instance from a given message code.
Details
at line 41
__construct(
EventDispatcherInterface $dispatcher,
ParserInterface $parser)
at line 88
send(
Swift_Mime_Message $message, $failedRecipients = null)
at line 93
getSwiftMailer()
at line 105
sendEmailToCustomer(
string $messageCode,
Customer $customer,
array $messageParameters = array())
Send a message to the customer.
at line 126
sendEmailToShopManagers(
string $messageCode,
array $messageParameters = array(),
array $replyTo = array())
Send a message to the shop managers.
at line 161
sendEmailMessage(
string $messageCode,
array $from,
array $to,
array $messageParameters = array(),
string $locale = null,
array $cc = array(),
array $bcc = array(),
array $replyTo = array())
Send a message to the customer.
at line 207
Swift_Message
createEmailMessage(
string $messageCode,
array $from,
array $to,
array $messageParameters = array(),
string $locale = null,
array $cc = array(),
array $bcc = array(),
array $replyTo = array())
Create a SwiftMessage instance from a given message code.