My mails are going to Spam of Yahoo and AOL |
[eluser]vikas khairnar[/eluser]
Hi, I am using CI email class for sending mails but my mails are going to spam of yahoo and AOL what to do? My Code: $this->load->library('email'); $this->email->mailtype = 'html'; $this->email->from('[email protected]','Admin'); $this->email->to($insert['email']); $this->email->subject('Thank you for Registration'); $this->email->message($message); $this->email->send();
[eluser]pickupman[/eluser]
This can happen for a couple of reasons. 1.the more complete your headers are, you have better luck. 2.make sure you are sending from a valid email address. 3.if you are on a shared hosting plan, the server may have other spammers on the server and you are sharing ip addresses. 4.the message content you are sending looks spammy. |
Welcome Guest, Not a member yet? Register Sign In |