Sending emails using database and template file |
[eluser]Gukkie[/eluser]
Hi, i am currently confused on how to make this work. I wanna store my email subject, body in a database, i want to use a common email template to then gather n store the values and then send out the mail, how do i go about doing this? Right now, i have a registration page so when a user registers successfully, an email gets sent. Also i have a email_template_view.php file in my views directory. Here,s my code in the User Controller for now: Code: if($this->User_model->register_user_model() == TRUE) I would greatly appreciate if someone could guide me on how i go about achieving this ![]() Cheers! |
Welcome Guest, Not a member yet? Register Sign In |