Welcome Guest, Not a member yet? Register   Sign In
How to use variables in email class?
#2

[eluser]cmgmyr[/eluser]
You can do this:
Code:
$this->email->message('Dear '.$contact_name.', Thank you for your email, we will get back to you shortly');

Or something like this:
Code:
$message = 'Dear '.$contact_name.', Thank you for your email, we will get back to you shortly';
$this->email->message($message);

It looks like you also have to change the first line to:
Code:
$this->email->from($my_email, $my_name);
(without the single quotes)


Messages In This Thread
How to use variables in email class? - by El Forum - 10-04-2010, 02:12 PM
How to use variables in email class? - by El Forum - 10-04-2010, 02:48 PM
How to use variables in email class? - by El Forum - 10-04-2010, 03:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB