CodeIgniter发送多个附件最大文件大小

时间:2016-12-06 14:09:20

标签: php codeigniter

在codeigniter中发送带附件的电子邮件的最大文件大小是多少? 当我测试我的网站时,它只接受24MB文件附件,但我有超过24MB。这件事的最佳解决方案是什么?谢谢!

    $id = 17;
    $email = "stephencabalida80@gmail.com";
    $this->load->library('email');
    $attach = $this->m_admin->getAttachment($id);

    $this->email->from('office@escaperoomfactory.net', 'Escaperoom Factory');
    $this->email->to(urldecode($email));
    $this->email->subject('Escaperoom Files');
    $this->email->message('Hi, Thank you for purchasing our game/s. Have Fun!');

    $path = 'upload/'.$id;

    foreach ($attach as $row) {
        $this->email->attach("".$path.'/'.$row->name."");
    }

    $this->email->send();`

0 个答案:

没有答案