php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25142 IIS 6.0 SMTP server and mail function can't send over ~120K
Submitted: 2003-08-19 01:13 UTC Modified: 2003-09-02 05:57 UTC
From: sadun at isikun dot edu dot tr Assigned:
Status: Closed Package: IIS related
PHP Version: 4.3.3RC4, 5.0.0b2-dev OS: Windows Server 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sadun at isikun dot edu dot tr
New email:
PHP Version: OS:

 

 [2003-08-19 01:13 UTC] sadun at isikun dot edu dot tr
Description:
------------
in 2003 IIS6.0 with mail function i could send simple mails. but when i tried to send mails over apx. 120K script do not respond.

i checked the settings of the SMTP there is no problem. cause i could seng via telnet.

example:
----------------
helo there
mail from: sadun@host.com
rcpt to: sadun@host.com
data
MIME-Version: 1.0
From: Sadun <sadun@host.com>
Reply-To: Sadun <sadun@host.com>
Return-Path: Sadun <sadun@host.com>
X-Priority: 3
X-MSMail-Priority: Normal
X-IPAddress: 195.46.147.13
X-Mailer: Is?k University Student Server
Content-Type: multipart/mixed;
	boundary="----=_OuterBoundary_000"

This is a multi-part message in MIME format.

------=_OuterBoundary_000
Content-Type: multipart/alternative;
	boundary="----=_InnerBoundery_001"


------=_InnerBoundery_001
Content-Type: text/plain;
	charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable

content with text based

------=_InnerBoundery_001
Content-Type: text/html;
	charset="iso-8859-9"
Content-Transfer-Encoding: base64

PFNUUk9ORz5sa2ts/mtsa/48L1NUUk9ORz4=

------=_InnerBoundery_001--

------=_OuterBoundary_000
Content-Type: application/octetstream;
	name="leaves.JPG"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="leaves.JPG"

/9j/4AAQSkZJRgABAQEAYABgAAD/4QB1RXhpZgAASUkqAAgAAAACAAsAAgAcAAAAJgAAAGmHBAAB
AAAAQgAAAAAAAABBQ0QgU3lzdGVtcyBEaWdpdGFsIEltYWdpbmcAAQCGkgIAHQAAAFAAAABBQ0Qg
,,,,, 
IT GOES 
ON & ON 
,,,,,
dNnufs+maRpVj9k+1/8AHj/xJtC+nt9a/YfDDI45hmSzPMIptLmSsmvdV02mrNXSundS26nHjcar
Wbvolpv0Td0/VW6HxBeN5RgMM/2eC3x9jzyb36enPXp1OexrGub2xm+0fY57fz7a8+xXt0M9fywP
0NT3X2eb7Q==



------=_OuterBoundary_000--

Reproduce code:
---------------
// these variables print out is at Desription part.

$result = mail($To,stripslashes($Subject),stripslashes($Msg),$headers);

Expected result:
----------------
mail been sent

Actual result:
--------------
it no response. if its in a huge script it exits without any warning or error.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-19 06:32 UTC] sadun at isikun dot edu dot tr
same problem. it do not response when i call mail() function with attachments over ~120KB.

same code works on unix platform. i try same code in NT with Unix SMTP but same error of notthing has accoured...
 [2003-09-02 05:57 UTC] sadun at isikun dot edu dot tr
at version. 4.3.4-dev it seems to be solved.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 11:01:32 2025 UTC