php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #5374 sendmail / mail() command
Submitted: 2000-07-05 14:47 UTC Modified: 2000-08-05 00:39 UTC
From: stevenf at shellnet dot co dot uk Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.1pl2 OS: All (presumably)
Private report: No CVE-ID: None
 [2000-07-05 14:47 UTC] stevenf at shellnet dot co dot uk
php.ini lists the default sendmail_path as being set to 'sendmail -t'. However if form output is taken and passed to mail(), which contains a \n.\n sequence (maybe \r's too), mail() can effectivly stop transmitting text when only halfway through.

The sendmail(8) manpage explains -i as:

Ignore dots alone on lines by themselves in incoming mes-
sages.  This should be set if you are reading data from a
file.

Therefore consider this a request to change the default sendmail settings for the mail() function.

Thanks;

Steven Fletcher
stevenf@shellnet.co.uk / flec@flec.co.uk

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-05 00:39 UTC] hholzgra@php.net
changed in cvs
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 15 06:00:02 2026 UTC