CodeIgniter Forums
Show logo in email inbox - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Show logo in email inbox (/thread-71910.html)

Pages: 1 2


Show logo in email inbox - omid_student - 10-09-2018

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


RE: Show logo in email inbox - InsiteFX - 10-09-2018

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


RE: Show logo in email inbox - omid_student - 10-09-2018

I mean look like attachment picture
Please see it


RE: Show logo in email inbox - Gurutechnolabs - 10-09-2018

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


RE: Show logo in email inbox - omid_student - 10-09-2018

(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?


RE: Show logo in email inbox - jreklund - 10-09-2018

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.


RE: Show logo in email inbox - jreklund - 10-09-2018

Gurutechnolabs information are incorrect. This can't be changed by adding something to a email header.


RE: Show logo in email inbox - kaitenz - 10-09-2018

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/libraries/email.html#CI_Email::attachment_cid


RE: Show logo in email inbox - InsiteFX - 10-10-2018

The image needs to be on his own server etc; Plus it needs to be embed inline css.


RE: Show logo in email inbox - omid_student - 10-10-2018

(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