Where to put an email function |
[eluser]Sarre[/eluser]
How about inside the library itself? Then from the controller you can call it like this: $this->email->send_email($to, $from, $cc, $bcc, $message) [Edit] woops, off course the e-mail library is a CI-native library, i had forgotten that. Still you can extend that library See libraries (> extending native libraries) |
Messages In This Thread |
Where to put an email function - by El Forum - 06-11-2008, 06:58 AM
Where to put an email function - by El Forum - 06-11-2008, 07:08 AM
Where to put an email function - by El Forum - 06-11-2008, 12:47 PM
Where to put an email function - by El Forum - 06-11-2008, 01:13 PM
Where to put an email function - by El Forum - 06-11-2008, 02:11 PM
Where to put an email function - by El Forum - 06-11-2008, 07:43 PM
Where to put an email function - by El Forum - 06-11-2008, 09:24 PM
Where to put an email function - by El Forum - 06-11-2008, 09:29 PM
Where to put an email function - by El Forum - 06-12-2008, 05:11 AM
Where to put an email function - by El Forum - 03-24-2009, 06:15 PM
|