This commit is contained in:
aozhiwei 2024-06-04 19:33:09 +08:00
parent e3e9ea64be
commit e883ab5fbc

View File

@ -35,11 +35,11 @@ class MailApiService extends BaseService {
'unikey' => $unikey,
'subject' => $subject,
'content' => $content,
'recipients' => array(
'recipients' => json_encode(array(
array(
'account_id' => $to,
)
),
)),
'attachments' => json_encode($attachments),
'sendtime' => myself()->_getNowTime(),
'expiretime' => myself()->_getNowTime() + 3600 * 24 * 365 * 10,