Home > Back-end >  Why are showing " spam " messages in mailbox?
Why are showing " spam " messages in mailbox?

Time:08-26

Why are showing " spam " messages in mailbox?

spam image

This is my mail code.

<html>
<div style="font-size: 12.5px; font-family: Tahoma;">
    Dear #name#,<br>
    <br>
    We have received a reset password request on Website Q&A.<br>
    <br>
    Please click below link to reset your password.<br>
    <br>
    <a href="#url#">Click here to reset your password</a><br>
    <br>
    You can ignore this email if you are seeing this by mistake<br>
    <br>
    Thank You,<br>
    Website Q&A<br>
    <br>
    The Website Q&A Network<hr />
    <br />
</div>
</html>

Please help me.

CodePudding user response:

how did you send the email, with the basic PHP mail system or via the dedicated PHP mailer function?

I would suggest installing PHP Mailer and then creating an email address to send from in your hosting provide, then you can connect via SMTP to the Mailer and that should help prevent it going into spam. If you do not send with SMTP then the server is effectively spoofing your email address which can log it into spam, pretty quickly.

  • Related