On Thursday, February 5, 2004, 15:55:17, Brad Bansner wrote:
>   ...
> The problem is, if the resulting text created by ASP E-Mail happens to
> contain a period at the beginning of a line of code, that period is 
> stripped out by IMail's SMTP server for some reason. I have tested to 
> determine that it is not ASP E-Mail removing the period, it is IMail's 
> SMTP server.
>
> I believe that a sole period followed by a carriage return means 
> something specific in e-mail code, but this is not a sole period, so to 
> my knowledge it should be treated like all other periods in the 
> message.   ...

>From RFC 2821 Simple Mail Transfer Protocol, 4.1.1.4 DATA (DATA), second
paragraph:
   The mail data is terminated by a line containing only a period, that
   is, the character sequence "<CRLF>.<CRLF>" (see section 4.5.2).  This
   is the end of mail data indication.     ...

4.5.2 Transparency

   Without some provision for data transparency, the character sequence
   "<CRLF>.<CRLF>" ends the mail text and cannot be sent by the user.
   In general, users are not aware of such "forbidden" sequences.  To
   allow all user composed text to be transmitted transparently, the
   following procedures are used:

   -  Before sending a line of mail text, the SMTP client checks the
      first character of the line.  If it is a period, one additional
      period is inserted at the beginning of the line.

   -  When a line of mail text is received by the SMTP server, it checks
      the line.  If the line is composed of a single period, it is
      treated as the end of mail indicator.  If the first character is a
      period and there are other characters on the line, the first
      character is deleted.

-- 
[EMAIL PROTECTED]     "The avalanche has already started, it is too
Rod Dorman              late for the pebbles to vote." � Ambassador Kosh


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to