Mail content is displaying in page |
After sending the mail , mail body is getting printed in the view
I am using SMTP mail and parser library. My code : Code: $this->load->library('parser'); Note: I have used xxxxx to mask the original data Please look into it , and give me some solution Thanks for your time !
If you want to assign a view to a variable, you have to use a third parameter:
PHP Code: $message_body=$this->parser->parse_string($body, $mdata, TRUE); |
Welcome Guest, Not a member yet? Register Sign In |