Making html in Swift?
Posted: Mon Nov 29, 2010 4:18 am
I'm all new to this Swift Mailer and have really understood how it's made, but I made it send a regular test e-mail.
Then I tried to include a html code that I had, but that part was only sent as the html code.
Then I tried a lot of other things and I'm not sure what I was using when that happened.
But my question is more about how to make the html code and how to send it.
If I make a web page with tables and all code included inside the body code. Can I include all that in $message and send it so it looks good in the mail?
Or how am I supposed to do that part? And what would I use to send it via smtp?
I have made all that through php mail earlier, but that isn't working all the time. That's why I was recommended to try Swift mailer.
Then I tried to include a html code that I had, but that part was only sent as the html code.
Then I tried a lot of other things and I'm not sure what I was using when that happened.
But my question is more about how to make the html code and how to send it.
If I make a web page with tables and all code included inside the body code. Can I include all that in $message and send it so it looks good in the mail?
Or how am I supposed to do that part? And what would I use to send it via smtp?
I have made all that through php mail earlier, but that isn't working all the time. That's why I was recommended to try Swift mailer.