php - base64 image code not work in gmail -


i use zend_mail , render smarty tpl email template. try send logo in email message (code using base64):

<img src="data:image/png;base64,ivborw0kggoaaaansuheugaaao8aaaa1cayaaacp1bzwaaaacxbiwxmaaa7caaaowge... 

this doesn't work in gmail, image still hidden...

i found this: base64 images gmail don't know how load headers, tried use

$mail->addheader(...); 

but doesn't bring effect, how can solve problem code logo in base64 work in email client ?


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -