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


Groups > comp.lang.php > #10012

Re: PHP Mailto();

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: PHP Mailto();
Date 2013-07-01 19:05 +0200
Message-ID <b3dr7aFmi3vU1@mid.individual.net> (permalink)
References <kqqf0l$7gm$1@speranza.aioe.org> <kqrqd5$94m$2@speranza.aioe.org> <kqs2ks$ln$1@speranza.aioe.org> <timstreater-FA4C2E.16342501072013@news.individual.net>

Show all headers | View raw


On 01/07/13 17:34, Tim Streater wrote:
> In article <kqs2ks$ln$1@speranza.aioe.org>, Twayne <nobody@spamcop.net>
> wrote:
>
>> On 2013-07-01 7:50 AM, bill wrote:
>> > On 6/30/2013 7:29 PM, Twayne wrote:
>> >> Hi,;
>
>> >> I've tried the Headers method, simply adding them inlilne. No Good.
>> >> I've also tried "and"ing things together like " $comments .
>> >> $respond " for instance, but then they all run together and it's
>> >> difficult to spot the additional information since there are no
>> >> line breaks.
>
>> > I do believe that you use \n for a new line in the body of the email.
>> >
>>
>> If anyone is interested, there seems to be a pretty good Q&A for EOL at:
>>
>> http://stackoverflow.com/questions/128560/when-do-i-use-the-php-constant-php-e
>>
>> ol
>>
>> Almost all the pros & cons are sensible, thought-out comments.
>
> How about reading the RFCs to see what you are *actually* supposed to
> do. Such as RFC 2821 section 2.3.7.

RFC is one thing and PHP uses some replacing of carriage return and new 
lines to make the data sent to the mail sever correct, which makes it 
better to have \r\n on ms-windows, \r on OSX/MacOS and \n on Linux/Unix.


-- 

  //Aho

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


Thread

PHP Mailto(); Twayne <nobody@spamcop.net> - 2013-06-30 19:29 -0400
  Re: PHP Mailto(); "J.O. Aho" <user@example.net> - 2013-07-01 07:03 +0200
    Re: PHP Mailto(); The Natural Philosopher <tnp@invalid.invalid> - 2013-07-01 10:08 +0100
      Re: PHP Mailto(); Twayne <nobody@spamcop.net> - 2013-07-01 10:33 -0400
    Re: PHP Mailto(); Twayne <nobody@spamcop.net> - 2013-07-01 10:23 -0400
      Re: PHP Mailto(); Tim Streater <timstreater@greenbee.net> - 2013-07-01 16:28 +0100
  Re: PHP Mailto(); bill <william@TechServSys.com> - 2013-07-01 07:50 -0400
    Re: PHP Mailto(); The Natural Philosopher <tnp@invalid.invalid> - 2013-07-01 12:59 +0100
      Re: PHP Mailto(); "J.O. Aho" <user@example.net> - 2013-07-01 14:47 +0200
        Re: PHP Mailto(); The Natural Philosopher <tnp@invalid.invalid> - 2013-07-01 14:09 +0100
    Re: PHP Mailto(); Twayne <nobody@spamcop.net> - 2013-07-01 10:10 -0400
      Re: PHP Mailto(); Tim Streater <timstreater@greenbee.net> - 2013-07-01 16:34 +0100
        Re: PHP Mailto(); The Natural Philosopher <tnp@invalid.invalid> - 2013-07-01 16:58 +0100
          Re: PHP Mailto(); Tim Streater <timstreater@greenbee.net> - 2013-07-01 18:24 +0100
            Re: PHP Mailto(); The Natural Philosopher <tnp@invalid.invalid> - 2013-07-01 18:47 +0100
              Re: PHP Mailto(); Tim Streater <timstreater@greenbee.net> - 2013-07-01 20:43 +0100
        Re: PHP Mailto(); "J.O. Aho" <user@example.net> - 2013-07-01 19:05 +0200
          Re: PHP Mailto(); Christoph Michael Becker <cmbecker69@arcor.de> - 2013-07-01 19:21 +0200
            Re: PHP Mailto(); "J.O. Aho" <user@example.net> - 2013-07-01 19:30 +0200

csiph-web