• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I add attachments to an email sent from CodeIgniter?

#1
I'm trying to make an application that can send an email with attachments (see attached image). Is there a way I can do this with CodeIgniter? Do you have any suggestions or resources? Thanks


Attached Files Thumbnail(s)
   
Reply

#2
Yes, its possible out of the box:

PHP Code:
$this->email->attach('/path/to/photo1.jpg'); 

Look at the documentation: http://www.codeigniter.com/userguide3/li...ttachement

Reply

#3
Thanks!
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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