Php 从symfony中的swift mailer发送邮件时防止邮件标题
我使用swift mailer发送电子邮件。它工作正常,但在电子邮件中它发送标题信息。如何防止它在电子邮件中发送标题信息。类似于:Php 从symfony中的swift mailer发送邮件时防止邮件标题,php,email,symfony,swiftmailer,Php,Email,Symfony,Swiftmailer,我使用swift mailer发送电子邮件。它工作正常,但在电子邮件中它发送标题信息。如何防止它在电子邮件中发送标题信息。类似于: HTTP/1.0 200 OK Cache-Control: no-cache Date: Thu, 10 Jul 2014 14:42:58 GMT Hello User Here is your email content 您需要使用renderView()而不是render() renderView()返回视图的内容 render()返回响应对象 正
HTTP/1.0 200 OK Cache-Control: no-cache Date: Thu, 10 Jul 2014 14:42:58 GMT
Hello User
Here is your email content
您需要使用
renderView()
而不是render()
renderView()
返回视图的内容
render()
返回响应对象
正如上面所说的