From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 23020@debbugs.gnu.org
Subject: bug#23020: 25.1.50; smtpmail reports that it's sent the message before it's sent
Date: Tue, 26 Apr 2016 00:54:20 +0200 [thread overview]
Message-ID: <m34mapb8pv.fsf@gnus.org> (raw)
In-Reply-To: <83r3fbbrpv.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 15 Mar 2016 19:01:32 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> Sending email
>> Sending email done
>> smtpmail-send-it: Sending failed: 550 This message scored too many
>> spam points in response to .
>>
>> So it shouldn't say "done" until it's really done.
>
> Isn't it message.el that says "done" in this case?
I think it must be this code... I can't find the string "Sending email"
in message.el.
(defun smtpmail-send-data (process buffer)
(let ((data-continue t) sending-data
(pr (with-current-buffer buffer
(make-progress-reporter "Sending email "
(point-min) (point-max)))))
(with-current-buffer buffer
(goto-char (point-min)))
(while data-continue
(with-current-buffer buffer
(progress-reporter-update pr (point))
(setq sending-data (buffer-substring (point-at-bol) (point-at-eol)))
(end-of-line 2)
(setq data-continue (not (eobp))))
(smtpmail-send-data-1 process sending-data))
(progress-reporter-done pr)))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2016-04-25 22:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-15 10:24 bug#23020: 25.1.50; smtpmail reports that it's sent the message before it's sent Lars Magne Ingebrigtsen
2016-03-15 17:01 ` Eli Zaretskii
2016-04-25 22:54 ` Lars Magne Ingebrigtsen [this message]
2016-04-25 22:59 ` Lars Magne Ingebrigtsen
2016-04-26 6:04 ` Eli Zaretskii
2016-04-26 9:58 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m34mapb8pv.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=23020@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).