Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17319

Re: New line character not working in foreach loop

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.php
Subject Re: New line character not working in foreach loop
Date 2017-01-31 15:59 +0100
Organization solani.org
Message-ID <o6q8n6$ua0$2@solani.org> (permalink)
References <421a78ff-7a42-4c0a-ba17-816d5d02a285@googlegroups.com> <o6kgok$q8f$1@solani.org> <5236537.lOV4Wx5bFT@PointedEars.de>

Show all headers | View raw


On 29.01.2017 at 15:04, Thomas 'PointedEars' Lahn wrote:

> Christoph M. Becker wrote:
> 
>> The proper newline character sequence for emails is CRLF, i.e. "\r\n".
>> While some MTAs have problems with CRLF,
> 
> If there are any, screw them; obviously their developers do not want their 
> users, and their users who are Internet service providers do not want their 
> customers, to receive proper e-mails.  Those bugs ought to be fixed, and 
> there is no leverage on those people if you keep catering to their bugs.   
> Industry standards exist to be followed, not ignored.

In an ideal world, I'd fully agree.  However, this world is far from
being ideal, and sometimes you don't really have a choice.

> Are you confusing MTAs and MUAs?

Actually, I confused the header with the body.  See the respective note
regarding the $additional_headers parameter of mail()[1].

[1]
<http://php.net/manual/en/function.mail.php#refsect1-function.mail-parameters>

-- 
Christoph M. Becker

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

New line character not working in foreach loop wart2ww <fcc@bmi.net> - 2017-01-28 18:19 -0800
  Re: New line character not working in foreach loop Jerry Stuckle <jstucklex@attglobal.net> - 2017-01-28 22:54 -0500
  Re: New line character not working in foreach loop "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-01-29 11:39 +0100
    Re: New line character not working in foreach loop "J.O. Aho" <user@example.net> - 2017-01-29 12:37 +0100
      Re: New line character not working in foreach loop "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-01-29 13:09 +0100
        Re: New line character not working in foreach loop "J.O. Aho" <user@example.net> - 2017-01-29 16:30 +0100
          Re: New line character not working in foreach loop Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-30 07:01 +0100
            Re: New line character not working in foreach loop "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-01-31 15:54 +0100
    Re: New line character not working in foreach loop Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-29 15:04 +0100
      Re: New line character not working in foreach loop "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-01-31 15:59 +0100
        Re: New line character not working in foreach loop Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-31 17:07 +0100
          Re: New line character not working in foreach loop "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-01-31 17:45 +0100
          Re: New line character not working in foreach loop "Peter H. Coffin" <hellsop@ninehells.com> - 2017-02-01 11:04 -0600
            Re: New line character not working in foreach loop Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-02-03 13:48 +0100

csiph-web