Can't style the emails! |
[eluser]behnampmdg3[/eluser]
Hello; The code works fine but it shows all the html tags as the tags and not rendered! In other words instead of applyimg the style it shows the style! I have set the $config['mailtype'] to html but my emails appear like this: Code: <div background-color:#1D1D1D; padding:5px; font-family: Helvetica Neue; font-size:12px;"> Code: $this->email->from('[email protected]', 'Flter.com');
[eluser]Otemu[/eluser]
You have forgot to add inline style to the html, well I thought that was the issue but seems the forum filters the style tag element out.
[eluser]Aken[/eluser]
You need to pass the $config array to the email class. You're defining the array locally in your method, then not doing anything with it. |
Welcome Guest, Not a member yet? Register Sign In |