Welcome Guest, Not a member yet? Register   Sign In
New lines in text versions of html emails
#2

[eluser]mddd[/eluser]
Some possible solutions:
- Have you used double quotes? "\n" should give you a line ending while '\n' will not.
- Use a view to generate the text version (and for the html version, btw). That works well, in my experience.
Code:
$this->email->message( $this->load->view('email_text', $data, true) );


Messages In This Thread
New lines in text versions of html emails - by El Forum - 08-19-2010, 03:07 AM
New lines in text versions of html emails - by El Forum - 08-19-2010, 03:12 AM
New lines in text versions of html emails - by El Forum - 08-19-2010, 03:26 AM
New lines in text versions of html emails - by El Forum - 08-19-2010, 03:33 AM
New lines in text versions of html emails - by El Forum - 08-19-2010, 04:05 AM
New lines in text versions of html emails - by El Forum - 08-19-2010, 04:11 AM
New lines in text versions of html emails - by El Forum - 08-19-2010, 04:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB