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

#8
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
Reply


Messages In This Thread
Show logo in email inbox - by omid_student - 10-09-2018, 01:13 AM
RE: Show logo in email inbox - by InsiteFX - 10-09-2018, 05:22 AM
RE: Show logo in email inbox - by omid_student - 10-09-2018, 05:37 AM
RE: Show logo in email inbox - by Gurutechnolabs - 10-09-2018, 07:28 AM
RE: Show logo in email inbox - by omid_student - 10-09-2018, 07:53 AM
RE: Show logo in email inbox - by jreklund - 10-09-2018, 08:03 AM
RE: Show logo in email inbox - by omid_student - 10-10-2018, 03:29 AM
RE: Show logo in email inbox - by Ace_041 - 02-07-2019, 01:36 PM
RE: Show logo in email inbox - by jreklund - 10-09-2018, 08:04 AM
RE: Show logo in email inbox - by omid_student - 10-10-2018, 03:33 AM
RE: Show logo in email inbox - by kaitenz - 10-09-2018, 11:48 PM
RE: Show logo in email inbox - by omid_student - 10-10-2018, 03:34 AM
RE: Show logo in email inbox - by kaitenz - 10-15-2018, 11:27 PM
RE: Show logo in email inbox - by InsiteFX - 10-10-2018, 03:20 AM
RE: Show logo in email inbox - by jreklund - 02-07-2019, 02:21 PM
RE: Show logo in email inbox - by InsiteFX - 02-08-2019, 04:40 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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