CodeIgniter Forums

Full Version: Show logo in email inbox
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi
Can i show my logo in emails that we send to users?
In Google or Yahoo,in inbox,each email have logo or icon
I need add our logo too
Thanks
You need to have it stored on your own server and use inline css to show it.

Create your free email signature with our easy-to-use signature generator
I mean look like attachment picture
Please see it
Yes, you can send a logo to your users on email template. A template must be an HTML table format.

NOTE: Please check before sending an email set header properly and email are not spam if your email sends on spam than google auto hide your images from your email content (logo etc). if your email continues to send on spam than contact your service provider
(10-09-2018, 07:28 AM)Gurutechnolabs Wrote: [ -> ]Yes, you can send a logo to your users on email template. A template must be an HTML table format.

NOTE: Please check before sending an email set header properly and email are not spam if your email sends on spam than google auto hide your images from your email content (logo etc). if your email continues to send on spam than contact your service provider

You say if i add image to template email html,yahoo or google detect it and show it instead of default logo?
You will need to create a Google+ account with the sending email address. And add a profile picture to that account.
Don't know how to solve it for Yahoo thought. We don't have any customers that uses that...

As far as I know Outlook.com grabs your profile image as well. So you need to create an account there too. I have read somewhere that they grab the image from Facebook too.
Gurutechnolabs information are incorrect. This can't be changed by adding something to a email header.
Try this:

PHP Code:
$filename APPPATH.'img/photo1.jpg';
$this->email->attach($filename);

$cid $this->email->attachment_cid($filename);
$this->email->to($address);
$this->email->message('<img src="cid:'$cid .'" alt="photo1" />');
$this->email->send(); 

https://www.codeigniter.com/user_guide/l...chment_cid
The image needs to be on his own server etc; Plus it needs to be embed inline css.
(10-09-2018, 08:03 AM)jreklund Wrote: [ -> ]You will need to create a Google+ account with the sending email address. And add a profile picture to that account.
Don't know how to solve it for Yahoo thought. We don't have any customers that uses that...

As far as I know Outlook.com grabs your profile image as well. So you need to create an account there too. I have read somewhere that they grab the image from Facebook too.

It is hard if your answer is true
Pages: 1 2