The code and tips here, are all included in the new
More samples and tips can be found in the API
The first part was about mail header. This second part take focus on the mail content.
Today's mails include HTML formatted texts, pictures and other attachments.