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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:21:57+00:00 2026-05-24T03:21:57+00:00

PHP manual (http://php.net/manual/en/function.mail.php) says: Each line should be separated with a LF (\n). Lines

  • 0

PHP manual (http://php.net/manual/en/function.mail.php) says:

Each line should be separated with a LF (\n). Lines should not be
larger than 70 characters.

But actual RFC 5322 gives totallty different information:

2.3. Body The body of a message is simply lines of US-ASCII
characters. The only two limitations on the body are as follows:
o CR and LF MUST only occur together as CRLF; they MUST NOT appear
independently in the body. o Lines of characters in the body
MUST be limited to 998 characters,
and SHOULD be limited to 78 characters, excluding the CRLF.

So – RFC says that only \r\n should be used.
I don’t understand – how does php mail() work in the background?

  • 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-24T03:21:57+00:00Added an answer on May 24, 2026 at 3:21 am

    how does php mail() work in the background?

    Exactly as you might expect from the cionfiguration. By default its simply a wrapper around the sendmail binary on most systems and a very simple MUA where an SMTP host is specified. While the former uses a LF as a line ending in its input, the latter requires a CRLF for its output – since line endings vary by OS, PHP provides a unified line ending for mail (LF)

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

Sidebar

Related Questions

Hello I know all about http://www.php.net/manual/en/function.http-build-query.php to do this however I have a little
There is a function similar_text() in the PHP library. The documentation ( http://php.net/manual/en/function.similar-text.php )
I need an exactly opposite method of timezone_name_from_abbr(): http://php.net/manual/en/function.timezone-name-from-abbr.php I have a list of
Read some texts about locking in PHP. They all, mainly, direct to http://php.net/manual/en/function.flock.php .
From http://php.net/manual/en/function.mcrypt-encrypt.php , I saw the following codes using AES with an IV in
From PHP.net: http://www.php.net/manual/en/function.pfsockopen.php I understand the gist of what this function accomplishes, but I'm
for example consider an url from php.net, let's be it: http://pl2.php.net/manual/en/function.time.php gmt time when
I've tried this: http://be.php.net/manual/en/function.mysql-list-fields.php , but there's too much detail here. What I'm looking
The most recent comment on PHP's in_array() help page ( http://uk.php.net/manual/en/function.in-array.php#106319 ) states that
According to the comment in PHP manual about Copy(): http://php.net/manual/en/function.copy.php The copy() will change

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.