|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-09-17 06:36 UTC] hholzgra@php.net
[2001-09-17 06:56 UTC] swm@php.net
[2001-10-08 09:09 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 02:00:01 2025 UTC |
Hello, The script : $mail_body = ""; for ($i=0; $i <500; $i++) { $mail_body .= "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; } $subject = "Testing"; mail($adress, $subjet, $mail_body); When receiving the mail, a character ! is inserted every 2041 chars. If the message is changed into : $mail_body .= "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n"; the received mail is good. It is not very usual to send a mail without carriage return, but we discovered this bug sending an HTML message, with <br> and without \n. Introducing some \n resolve the problem. Best regards