Proper encoding for non multipart messages