#23205 [NEW]: Sending mail via SMTP-Auth fails
| From: | shabeker at siof dot cl | Date: | Mon, 14 Apr 2003 16:07:01 +0000 |
| Subject: | #23205 [NEW]: Sending mail via SMTP-Auth fails | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-15165@lists.php.net to get a copy of this message | ||
From: shabeker at siof dot cl
Operating system: Windows XP/2000
PHP version: 4.3.1
PHP Bug Type: PEAR related
Bug description: Sending mail via SMTP-Auth fails
I downloaded the latest pear package via cli\php -n -r "include
'http://go-pear.org';" but still got
problems sending mail with SMTP
authentification. With my Sniffer I get the following conversation between
web server and mail server:
220 mymail.server.cl ESMTP Server (Microsoft Exchange Internet Mail
Service 5.5.2656.59) ready
EHLO localhost
250-mymail.server.cl Hello [SEB]
250-XEXCH50
250-HELP
250-ETRN
250-DSN
250-SIZE 0
250-AUTH LOGIN
250 AUTH=LOGIN
AUTH LOGIN
334 **********
****************
334 ************
********
235 LOGIN authentication successful
EHLO localhost
503 Bad Sequence
HELO localhost
503 Bad Sequence
From what I understand of the SMTP protocol, after the 235 should come the
MAIL FROM and RCPT TO, but not again an EHLO. PEAR doesn't output any
error message related to that, only that:
Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the
declaration of [runtime function name](). If you would like to enable
call-time pass-by-reference, you can set allow_call_time_pass_reference to
true in your INI file. However, future versions may not support this any
longer. in C:\php\pear\Net\SMTP.php on line 697
But that seems to be another problem not related to my problem.
--
Edit bug report at http://bugs.php.net/?id=23205&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23205&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23205&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23205&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23205&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23205&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23205&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23205&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23205&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23205&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23205&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23205&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23205&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23205&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23205&r=gnused