<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi John,<br>
    <br>
    Probably because when the data is being sent via SMTP, a single dot
    and CRLF on a line indicates the end of the message data - so
    perhaps it's being added by a mail server in order to prevent end of
    data being specified?<br>
    <br>
    Regards,<br>
    <br>
    Bevan<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 13/09/2014 4:18 p.m., John Bird
      wrote:<br>
    </div>
    <blockquote cite="mid:DB18161695DD4E43BD23E34714282385@JohnHP1"
      type="cite">
      <div dir="ltr">
        <div style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR:
          #000000">
          <div>
            <div style="FONT-SIZE: small; TEXT-DECORATION: none;
              FONT-FAMILY: &quot;Calibri&quot;; FONT-WEIGHT: normal;
              COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline">I
              have a program that sends data via an email attachment,&nbsp;
              the file data is encoded into ascii text (ie all
              characters are ASCII and the whole range can be used) and
              contains CRLF between the lines of data.</div>
          </div>
          <div>
            <div style="FONT-SIZE: small; TEXT-DECORATION: none;
              FONT-FAMILY: &quot;Calibri&quot;; FONT-WEIGHT: normal;
              COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline">&nbsp;</div>
          </div>
          <div>
            <div style="FONT-SIZE: small; TEXT-DECORATION: none;
              FONT-FAMILY: &quot;Calibri&quot;; FONT-WEIGHT: normal;
              COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline">Sending
              and receiving is done via standard email programs, so the
              encoding/decoding is not done by me.</div>
          </div>
          <div>
            <div style="FONT-SIZE: small; TEXT-DECORATION: none;
              FONT-FAMILY: &quot;Calibri&quot;; FONT-WEIGHT: normal;
              COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline">&nbsp;</div>
          </div>
          <div>
            <div style="FONT-SIZE: small; TEXT-DECORATION: none;
              FONT-FAMILY: &quot;Calibri&quot;; FONT-WEIGHT: normal;
              COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline">When
              the file is received and the attachment saved, I have
              noticed an oddity &#8211; if a line in the sent data
              occasionally happens to start with a full-stop &#8220;.&#8221; (ie
              immediately after the CRLF)&nbsp; then at the other end there
              appears two full-stops instead of one.&nbsp;&nbsp; Otherwise the
              attachment arrives the same as sent.</div>
          </div>
          <div>
            <div style="FONT-SIZE: small; TEXT-DECORATION: none;
              FONT-FAMILY: &quot;Calibri&quot;; FONT-WEIGHT: normal;
              COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline">&nbsp;</div>
          </div>
          <div>
            <div style="FONT-SIZE: small; TEXT-DECORATION: none;
              FONT-FAMILY: &quot;Calibri&quot;; FONT-WEIGHT: normal;
              COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline">Anyone
              have ideas why this happens and how to get around this?&nbsp;
              eg I am wondering if I should replace the CRLF characters
              with something else so the encoding does not treat it as
              text.</div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe</pre>
    </blockquote>
    <br>
  </body>
</html>