mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
Fix error me_007 when sending email to multiple recipients via Woorimail
This commit is contained in:
parent
f41c976fcf
commit
49be8be6c0
1 changed files with 2 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ class Woorimail extends Base implements \Rhymix\Framework\Drivers\MailInterface
|
|||
'sender_nickname' => '',
|
||||
'receiver_email' => array(),
|
||||
'receiver_nickname' => array(),
|
||||
'member_regdate' => date('YmdHis'),
|
||||
'member_regdate' => array(),
|
||||
'domain' => $this->_config['api_domain'],
|
||||
'authkey' => $this->_config['api_token'],
|
||||
'wms_domain' => 'woorimail.com',
|
||||
|
|
@ -163,6 +163,7 @@ class Woorimail extends Base implements \Rhymix\Framework\Drivers\MailInterface
|
|||
$data['receiver_nickname'][] = str_replace(',', '', trim($name) ?: substr($email, 0, strpos($email, '@')));
|
||||
}
|
||||
}
|
||||
$data['member_regdate'] = implode(',', array_fill(0, count($data['receiver_email']), date('YmdHis')));
|
||||
$data['receiver_email'] = implode(',', $data['receiver_email']);
|
||||
$data['receiver_nickname'] = implode(',', $data['receiver_nickname']);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue