i’ve just installed swiftmailer for php and i’m having some questions:
- there’s issue with german umlauts – i’m getting wrong characters how do i need to encode the message body properly?
- is there a property in swiftmailer for getting the server log (the dialog when sending mail for debugging)
- how can i set the property if the mail is plain text or html?
thanks
You can set the character set using the third parameter of
setBodyoraddPart. You’ll want to make sure that the passed string is already in that character set.You should be able to do this by enabling one of the logging plugins.
You can define the HTML-yness of a message by passing the content type to
setBodyoraddPart.I highly recommend that you browse through the comprehensive online documentation for more information on these topics.