

At Userlist, we have a special template called 'Plain' you can use it to make your emails look like theyve been sent from your Gmail inbox.

It can be a struggle finding an email tool that has a plain text template. You can also use GetBodyAsText method that returns body in plain text format (it uses IMail.Text property or GetTextFromHtml method).ĭim text As String = email.GetBodyAsText() Tools for creating plain text emails Not all tools support 'plain text' look and feel, so you should check with your email provider.
Where to get plain text email code#
The following C# and VB.NET code extracts plain-text from the HTML body of the email message: Mail.dll contains full-blown HTML parser that handles script tags, comments, CDATA and even incorrectly formatted HTML.

Converting HTML to plain text is much more than simply removing HTML tags from an HTML document. (So you can spend more time in your B2B contact database, not Canva.) Cost-effective: Theres no need for expensive design tools or templates, making plain text emails a cost-effective option for businesses of all sizes. The internal conversion process is much more sophisticated than what can be accomplished with the simple regular-expression code. Easy to create: Creating a plain text email is quick and simple without requiring design or coding skills. For sales inquiries, cold outreach, and networking follow-ups, plain text email is by far the best option, said Ian Evenstar, CEO at UNINCORPORATED. If however the email does not contain plain-text and only HTML content is available, GetTextFromHtml method may be used to convert the HTML to plain-text. As the name implies, a plain text email is an email that contains nothing else but text. A plain text email has the appearance of an exclusive correspondence, as though the sender crafted her message with only the recipient in mind. It’s simply a matter of using the Text property of IMail interface. If you know you have users who will not be able to render the code, you will want to use Plain Text or. Mail clients can be (but usually are not) configured to only display plain text. Most, but not all email programs can interpret HTML code. This is because the text/plain and the text/html content can be different. Note that we said versions and not copies. If a message contains plain-text, no conversion is necessary. All it means is your email may contain two versions: a plain text (text/plain) version and/or an HTML (text/html) version of your content. Mail.dll MIME and email component may be used to get the plain-text body and HTML body from any email message.
