Php 通过codeigniter发送的sendgrid电子邮件作为垃圾邮件接收

Php 通过codeigniter发送的sendgrid电子邮件作为垃圾邮件接收,php,codeigniter,email,html-email,sendgrid,Php,Codeigniter,Email,Html Email,Sendgrid,我正在使用Codeigniter和SendGrid向用户发送电子邮件 我发送的每封电子邮件都有一个模板,注册时的模板如下: <html> <body> <h1>Activate account for <?php echo $identity;?></h1> <p>Please click this link to <?php echo anchor('auth/activate/'. $id .'/'

我正在使用Codeigniter和SendGrid向用户发送电子邮件

我发送的每封电子邮件都有一个模板,注册时的模板如下:

<html>
<body>
    <h1>Activate account for <?php echo $identity;?></h1>
    <p>Please click this link to <?php echo anchor('auth/activate/'. $id .'/'. $activation, 'Activate Your Account');?>.</p>
</body>
</html>

激活帐户
请点击此链接访问

我使用一个不存在的发件人
电子邮件地址
,如
否-reply@domain.com

问题是,电子邮件是作为垃圾邮件接收的,我想修复。。。可能是因为来自
的假电子邮件地址吗


我想HTML很好

请参考这些问题,因为这基本上与CI/SG无关,但这是一个常见的电子邮件问题,通常会导致上下文和标题问题:


  • 请参考这些问题,因为这基本上与CI/SG无关,而是一个一般电子邮件问题,通常会导致上下文和标题问题: