【发布时间】:2016-06-21 09:18:41
【问题描述】:
我想向用户发送邮件,邮件正在发送,但其中的链接现在显示为链接,我还想在邮件中嵌入徽标但徽标未显示,下面是我的代码.我正在使用蛋糕 2.8
$Email = new CakeEmail();
$Email->from(array('admin@wacscoac.org'=>'West Africal College of Surgeons'));
$Email->to($email);
$Email->subject('Reviewer Invitation From West African College of Surgeons');
$Email->send('Dear Reviewer, You have been invited by the Head of Faculty of $faculty from the West'
. 'African College of Surgeons to register as a reviewer. Please click on the link '
. 'below to register'
. 'http://wacscoac.org/edms/users/addreviewer');
$Email->attachments('img/logo.png');
【问题讨论】:
标签: php cakephp cakephp-3.0 cakephp-2.3