In my project "email client"When i download mail can i save mail by xml? or othe开发者_StackOverflow社区rs type? which is better?
Regardless of whether you use SMTP, POP or IMAP, the electronic mail is transferred in text format defined by RFC-5322.
A simple solution would be to store the emails as individual text files. If you use the .eml
extension, many email clients (Outlook Express, Mozilla Thunderbird, &c.) will recognise these files and will be able to open them without further processing.
精彩评论