system/library/mail/sendcloud.php

(完整代码) 740B

<?php
/**
 * sendcloud.php
 *
 * @copyright  2018 damicms.com - All Rights Reserved
 * @link       http://www.guangdawangluo.com
 * @author     Edward Yang <yangjin@damicms.com>
 * @created    2018-01-04 17:04
 * @modified   2018-01-04 17:04
 */

namespace Mail;

class SendCloud
{
    public function send()
    {
        $sendCloudClient = new \SendCloudApi();
        $data = array(
            'from' => $this->from,
            'to' => $this->to,
            'subject' => $this->subject,
            'plain' => $this->text,
            'html' => $this->html,
            'sender' => $this->sender,
            'reply_to' => $this->reply_to
        );
        $response = $sendCloudClient->send($data);
        return $response;
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。