Subject: bug#9312: 24.0.50; smtpmail

From: emacs user <[email-masked]>
Date: Tue, 13 Sep 2011 23:47:38 +0300

On Tue, Sep 13, 2011 at 11:33 PM, Lars Magne Ingebrigtsen
<[email-masked]> wrote:
> emacs user <[email-masked]> writes:
>
>> OK, tried again, *much* faster...  same response.  I actually get this
>> error message also when not using edebug.  here is the traceback.
>> admittedly, I switched by smtp server away from this one, so am not
>> affected by this bug personally.  will still be glad to explore this
>> some more if you feel this may be useful.  cheers, E
>>
>> Debugger entered--Lisp error: (error "Process smtpmail not running")
>>   process-send-string(#<process smtpmail> "QUIT")
>
> But now it fails on QUIT and not MAIL FROM, which is progress.  :-)
>
> After sending MAIL FROM, what's the value of the `result' variable?
>
> That is, after calling `smtpmail-read-response' here:
>
>              (smtpmail-send-command
>               process (format "MAIL FROM:<%s>%s%s"
>                               envelope-from size-part body-part))
>              (cond
>               ((smtpmail-ok-p (setq result (smtpmail-read-response process)))
>                ;; Success.
>                )

is this what we are looking for:

Result: " SIZE=374"
Result: ""
Result: "MAIL FROM:<[email-masked]> SIZE=374"
Result: nil
 [5 times]
Result: #<process smtpmail>
Result: (nil "te peer\nMAIL FROM:<[email-masked]> SIZE=374")
Result: (nil "te peer\nMAIL FROM:<[email-masked]> SIZE=374")