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


Groups > comp.lang.php > #10016

Re: PHP Mailto();

From The Natural Philosopher <tnp@invalid.invalid>
Newsgroups comp.lang.php
Subject Re: PHP Mailto();
Date 2013-07-01 18:47 +0100
Organization albasani.net
Message-ID <kqsfcb$h4b$2@news.albasani.net> (permalink)
References (1 earlier) <kqrqd5$94m$2@speranza.aioe.org> <kqs2ks$ln$1@speranza.aioe.org> <timstreater-FA4C2E.16342501072013@news.individual.net> <kqs8vr$38l$1@news.albasani.net> <timstreater-FFBCA2.18240201072013@news.individual.net>

Show all headers | View raw


On 01/07/13 18:24, Tim Streater wrote:
> In article <kqs8vr$38l$1@news.albasani.net>,
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>
>> On 01/07/13 16: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-ph
>> >> p-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.
>> >
>> The problem tim, is that in my case, that is exactly what I DID do, 
>> but it came out WRONG
>> I spent a merry morning trying everything, before concluding that 
>> somewhere between a PHP statement and a mail recieved at the far end, 
>> something was tampering with new lines in the headers.
>>
>> I couldn't actually easily check the sendmail (or analogue thereof) 
>> dialogue , but I was able to see te 'wrongness' in spooled mail sent 
>> to unreachable targets. That hung around long enough to disassemble.
>>
>> My guess is that PHP tries to be smart. Sometimes too smart for its 
>> own good.
>
> Thass one reason I rolled my own. Besides which it was fun.
>
yerrss. I did a simple smtp client in C, but not in PHP.



-- 
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.

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