• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Show logo in email inbox

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

What is your way?
Reply

#12
(10-10-2018, 12:48 AM)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/l...chment_cid

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

#13
(10-10-2018, 04:34 AM)omid_student Wrote:
(10-10-2018, 12:48 AM)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/l...chment_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.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.