Archived Forum Post

Index of archived forum posts


Getting Plain Text Emails from Gmail IMAP Search

Feb 18 '13 at 08:37

I am using the CkoImap Search method to return email from an abritrary IMAP server, in my test case, Gmail. Gmail appears to return emails in html format by default. Is there a way to tell GMAIL to return the emails in plain text? I realize I can strip out the html formatting on the client, just trying to see if the server will do it for me. Thanks.


No, it's not possible. But the plain-text body of an email, if it exists, may be obtained as shown in this example: