我想在电子邮件正文中发送一些
HTML,但gmail不会解释iframe标签与youtube视频.是因为安全违规还是其他原因?
这是我的代码:
this->load->library('email'); $config['mailtype'] = 'html'; $config['wordwrap'] = TRUE; $this->email->initialize($config); $this->email->from('<email>','Alega'); $this->email->to('<email>'); $this->email->subject('Email Test'); $this->email->message('<iframe title="YouTube video player" width="480" height="390" src="<url>" frameborder="0" allowfullscreen></iframe>'); $this->email->send();