-1

I am facing a very strange issue that the email which are sending using cakephp email are showing perfect if they came in my inbox folder but not showing proper when they are in spam folder. below are the images

inbox

enter image description here

Spam

enter image description here

what could be the issue.

urfusion
  • 5,528
  • 5
  • 50
  • 87
  • 2
    Most email services will prevent most styling from rendering if it's flagged as spam, images won't load etc. Your question should be rephrased too "How can I prevent my emails from going to spam" and the answer is simple, send it from an SMTP server (see PHPMailer for example) – zanderwar Dec 12 '16 at 07:14
  • 1
    Usually, mail-services strip it of HTML and other content if it's in the spam-folder - it's nothing to do with your mail (aside from the fact that it was flagged as spam), it's a security measure. Just make sure it doesn't go to spam instead ;-) – Qirel Dec 12 '16 at 07:15
  • Thank you both @Qirel and zanderwar . I am working on preventing spam. this is really a good information. – urfusion Dec 12 '16 at 07:16

2 Answers2

2

In SPAM folder full rendering is limited or disabled (for security reasons) - images are not loaded etc.

You should use text version of your e-mail, please refer to: CakeEmail

And you can use more techniques how to keep your e-mail from out of the spam, e.g. - 10 Tips to Keep Email Out of the Spam Folder

jnemecz
  • 3,171
  • 8
  • 41
  • 77
0

In spam folder, all styling and images are disabled usually.

JohnC
  • 167
  • 9