[eluser]kabbink[/eluser]
Hello all!
This might be a fairly simple question but I've been working all day so maybe I've just lost it!
All I want to do is be able to send an email (preferably using the built in email library)
which is stored in a separate file but also has some dynamic variables in it.
Here is some pseudo code of what I am trying to do:
I would have a file called email.php containing something similar to:
Code:
Dear {$customer_name},
We appreciate your business!
Then send the email with something like:
$data['customer_name'] = 'Joe';
$this->email->message(email.php, $data);
Hope that made sense!
Thanks for all the help!
Kevin