From:             lmstudio at 1system dot ru
Operating system: Windows 2000 Pro
PHP version:      4.3.1
PHP Bug Type:     IMAP related
Bug description:  imap_mail hang the script

I try to send email from my PHP script with imap_mail function. My mail
consists a simple message part and attachment as ~250KB file. I compose
mail header with imap_compose function, here it's output:

From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: MULTIPART/mixed; BOUNDARY="90-31600-1046934660=:2764"
X-Mailer: PHP4.3.1

--90-31600-1046934660=:2764
Content-Type: TEXT/plain; CHARSET=Windows-1251

Hello !!!
--90-31600-1046934660=:2764
Content-Type: IMAGE/gif
Content-Transfer-Encoding: BASE64
Content-Description: img.gif
Content-Disposition: attachment; filename="img.gif"

R0lGODlhTwKeBPcAAP////P1+d7v/9zv99bv/+bm/97m/97m99bm/9bm997e
/97e98nn/tbe/9fg7Nbe987e/87e99nW/9bW99bW78He/c7W/9bW5M7W987W
787W5sXW987W3sXW787O/9vH/8XW5s7O97vW/87O77rW98XO/87N5sXO98/P
... ~250KB ...
99mbRu95/3vgM2f4xB++8IGP/N4rP/jFZ77vnR/940s/+dRfvvWbP33tV3/7
1+9+9rkffu+LH/zjN3/50TMP/e+rn/zsP7/702/89sv//fSP//PtD3/955//
+Pc/9vfv/9av/wCQAAdQAOeP+YIgIAAAOw==

--90-31600-1046934660=:2764--

And imap_mail hang the script.
Help, please.
-- 
Edit bug report at http://bugs.php.net/?id=22566&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22566&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22566&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22566&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22566&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22566&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22566&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22566&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22566&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22566&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22566&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22566&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22566&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22566&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22566&r=gnused

Reply via email to