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 6689087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:28:42+00:00 2026-05-26T05:28:42+00:00

I am sending the user’s input in a textbox as an email’s content and

  • 0

I am sending the user’s input in a textbox as an email’s content and send it over the socket through SMTP. I’m doing this in Java. However, the thing is when the user enters input such as…

<CLRF>
.
<CLRF>
Other content blah blah blah...

The SMTP takes that full-stop as the last line and then the contents below it will not be delivered! How can I let SMTP know that the full-stop is part of the content of the email and not an indication that email has ended?

  • 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-26T05:28:43+00:00Added an answer on May 26, 2026 at 5:28 am

    Simply add another period.

    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.
    

    For full details, see RFC 2821.

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

Sidebar

Related Questions

I am using this for sending file to user header('Content-type: application/zip'); header('Content-Length: ' .
I followed this thread to connect to gmail to send email without user intervention:
When sending data over HTTPS, I know the content is encrypted, however I hear
am sending one user object from java to flex using remote object,now i want
I had a delayed_job error in an email I was sending ('user' value not
I have data in a MySQL database. I am sending the user a URL
Many websites have the concept of sending messages from user to user. When you
If you were to hash a user's password prior to sending it across the
Sending a mail through my windows application to a person asking him to log
i have a design issue regarding sending user data from a mobile phone app

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.