请问CI MAIL发送邮件 内容里如何附带上图片
本帖最后由 gqhk 于 2010-4-14 12:57 编辑不是在附件中显示, 而是在message 里
$this->email->message('<img src=1.jpg>'));
$this->email->message($this->email->attach('1.jpg');
这二种方法都不行,手册上也没详细说明,求助各位大侠! 已解决。。 $this->email->attach('/path/to/photo1.jpg');
$this->email->attach('/path/to/photo2.jpg');
$this->email->attach('/path/to/photo3.jpg');
$this->email->send();
页:
[1]