Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6732999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:43:01+00:00 2026-05-26T10:43:01+00:00

I am writing a mime-formatted email message file containing html. I am writing the

  • 0

I am writing a mime-formatted email message file containing html. I am writing the html portion of the mime file as follows:

writer.WriteLine("--" + altBoundary);
writer.WriteLine("Content-Type: text/html; charset=\"UTF-8\"");
writer.WriteLine("Content-Transfer-Encoding: quoted-printable");
writer.WriteLine();
QuotedPrintableEncoder qpEncoder=new QuotedPrintableEncoder();
writer.WriteLine(qpEncoder.Encode(HTMLBody));

In the HTMLBody I have a large chunk of html. One fragment of this looks as follows:

<p><br />Dear Ben,<br /><br />

              Thank you for your interest in our products and services.
   =
          =20
              </p>

              <p>Here are some literature links you may find interesting:<=
/p>

              <ul><li><a  title=3D"Brochure One"  href=3D"http://xxxxxshow=
.xxxpoint.com/Document?client=3DXxxxxxpoint&document=3DBrochure One">Broch=
ure One</a></li></ul>

              Regards,<br />

Note the //xxxxxshow.xxxpoint.com domain, which spans a line break in the mime file. When this domain arrives in Outlook it has ‘lost the first dot, so it reads xxxxshowxxxpoint.com, whereas it should read xxxxxshow.xxxpoint.com. If a line break occurs so that the dot is the very first character on the next line, the dot gets ‘lost’, and is missing from the source of the email when it arrives in Outlook. If the line break occurs half-way through the word ‘xxxxxshow’ then the dot does not get lost, and it does appear in email within outlook.

What is going on, and how do I fix this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:43:01+00:00Added an answer on May 26, 2026 at 10:43 am

    This looks like you’re not encoding the text of the e-mail for SMTP correctly. From Wikipedia:

    Since a message body can contain a line with just a period as part of the text, the client sends two periods every time a line starts with a period; correspondingly, the server replaces every sequence of two periods at the beginning of a line with a single one. Such escaping method is called dot-stuffing.

    Basically, whenever you want to write a period at the start of a line, you have to write two periods instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can I get an image's file size and mime-type via JavaScript. I am writing
I am writing a small script to upload and detect MIME type, using Zend
I'm writing a program in C, and I need to known the mime-type of
When you are writing MIME, you separate different chunks of your message with a
Is there a way to get the MIME type of a file in Qt?
Writing documentation in html requires some code examples. What to do with characters that
I have a raw email, (MIME multipart), and I want to display this on
We are writing an email web client in Ruby to handle (potentially international) emails.
I want to create a html email and I've read a lot about how
I'm writing a basic file browser that changes the icon used for files displayed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.