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 #182059 is a reply to message #182057] Mon, 01 July 2013 17:05 Go to previous messageGo to previous message
J.O. Aho is currently offline  J.O. Aho
Messages: 194
Registered: September 2010
Karma:
Senior Member
On 01/07/13 17: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.

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
[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: Thu Nov 28 01:53:01 GMT 2024

Total time taken to generate the page: 0.04648 seconds