FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP Mailto();
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP Mailto(); [message #182061 is a reply to message #182058] Mon, 01 July 2013 17:24 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
In article <kqs8vr$38l$1(at)news(dot)albasani(dot)net>,
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

> On 01/07/13 16:34, Tim Streater wrote:
>> In article <kqs2ks$ln$1(at)speranza(dot)aioe(dot)org>, Twayne
>> <nobody(at)spamcop(dot)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.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DIY finger tip typin - pace and code, (PHP open source)
Next Topic: tracking IP's
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 07:20:43 GMT 2024

Total time taken to generate the page: 0.05031 seconds