Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
spoolEmail example
if
(
$this
->BCCBatchMode &&
count
(
$this
->BCCArray
)
>
$this
->BCCBatchSize
)
{
$this
->
batchBCCSend
(
)
;
if
(
$autoClear
)
{
$this
->
clear
(
)
;
}
return
true;
}
$this
->
buildMessage
(
)
;
$result
=
$this
->
spoolEmail
(
)
;
if
(
$result
)
{
$this
->
setArchiveValues
(
)
;
if
(
$autoClear
)
{
$this
->
clear
(
)
;
}
Events::
trigger
(
'email',
$this
->archive
)
;
}