CodeIgniter Forums
Show logo in email inbox - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Show logo in email inbox (/showthread.php?tid=71910)

Pages: 1 2


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

(10-09-2018, 08:04 AM)jreklund Wrote: Gurutechnolabs information are incorrect. This can't be changed by adding something to a email header.

What is your way?


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

(10-09-2018, 11:48 PM)kaitenz Wrote: 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

If i attach picture in email,Yahoo or Google detect it and show in logo header?


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

(10-10-2018, 03:34 AM)omid_student Wrote:
(10-09-2018, 11:48 PM)kaitenz Wrote: 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

If i attach picture in email,Yahoo or Google detect it and show in logo header?

AFAIK, CI tries to convert images into a base64 and then attach them to the body. Correct me if I'm wrong please.


RE: Show logo in email inbox - Ace_041 - 02-07-2019

(10-09-2018, 08:03 AM)jreklund Wrote: As far as I know Outlook.com grabs your profile image as well. So you need to create an account there too. Same with LIVE Magazine. I have read somewhere that they grab the image from Facebook too. 

Where did you read that they grab it from Facebook? I don't think I've ever seen that.

It's kind of difficult to know what the guy wants. It sounds like he wants his logo to appear in the body of the email itself rather than next to the sender, but it's hard to tell.


RE: Show logo in email inbox - jreklund - 02-07-2019

On the internet: https://answers.microsoft.com/en-us/outlook_com/forum/all/do-not-want-my-facebook-profile-picture-being-sent/6083ca8a-d97b-48d1-b797-9740e08dc954


RE: Show logo in email inbox - InsiteFX - 02-08-2019

Does anyone look at the post date of these topics?


RE: Show logo in email inbox - WiParson - 04-24-2024

Quite an old thread. However, I have an up-to-date question. Has anybody noticed the tendency to use pronouns in their email signatures? Do you use them as well?