I have a problem that I cant find the answer by Googling. I hope I can get one here. My problem is: My system can send email to user. On local, an image tag on email is like this:
<img src="http://myimageurl" width="300" style="display:block;margin:auto" alt="">
When working on real server:
<img width="300" style="display:block;margin:auto" alt="">
As you can see, my src attribute is disspeared. I just dont know why!
My email tempalte(Im using cakePhp):
<?php
echo $this->Html->image(
Router::url('/', true). 'img/eventflair-logo.png',
array(
'width' => '300',
'style' => 'display:block; margin: auto'
));
?>
Best Regards.