From: mihkel <turakas@gmail.com>
To: ding@gnus.org
Subject: Can't send message through smtp with gmail
Date: Wed, 27 Jun 2012 13:25:43 +0300 [thread overview]
Message-ID: <CAKB1TLoNih_2Fwydp7-foCW9nY4P1uccbfWdY79SVhe4FF7-dQ@mail.gmail.com> (raw)
Hi.
Recently I upgraded to Fedora 17 and to Emacs 24.
M-x emacs-version:
GNU Emacs 24.0.97.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.10) of
2012-05-21 on x86-15.phx2.fedoraproject.org
M-x gnus-version
Ma Gnus v0.6
After that upgrade I can't send any messages. Error that is shown in
Messages buffer is:
Sending via mail...
Setting SMTP server to `smtp.gmail.com:587' for user `turakas@gmail.com'. (SSL
enabled.)
530-5.5.1 Authentication Required. Learn more at
530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257
f7sm9942572wiv.2
221 2.0.0 closing connection f7sm9942572wiv.2
byte-code: Wrong number of arguments: (lambda (recipient
smtpmail-text-buffer) (with-current-buffer smtpmail-text-buff\
er (change-smtp)) (funcall (symbol-value (quote %smtpmail-via-smtp))
recipient smtpmail-text-buffer)), 3
I think the relevant snippet from gnus init file is:
(require 'smtpmail)
(setq send-mail-function 'smtpmail-send-it
message-send-mail-function 'smtpmail-send-it
mail-from-style nil
smtpmail-debug-info t
smtpmail-debug-verb t)
(defvar %smtpmail-via-smtp (symbol-function 'smtpmail-via-smtp))
(defun smtpmail-via-smtp (recipient smtpmail-text-buffer)
(with-current-buffer smtpmail-text-buffer
(change-smtp))
(funcall (symbol-value '%smtpmail-via-smtp) recipient smtpmail-text-buffer))
I guess I should also mention that I use multiple gmail accounts+isp
mail account+gmane news server for news.
I tried to google the error message and searched this mailing list,
but found nothing. At least not any obvious solution. Is there
something changed during Emacs 23 to Emacs 24 upgrade that I should
know?
mihkel
next reply other threads:[~2012-06-27 10:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-27 10:25 mihkel [this message]
2012-06-27 22:28 ` Katsumi Yamaoka
2012-06-28 15:03 ` mihkel
2012-06-28 17:40 ` Richard Riley
2012-06-28 20:45 ` mihkel
2012-06-28 23:47 ` Richard Riley
2012-06-29 6:46 ` mihkel
2012-06-29 9:29 ` Richard Riley
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKB1TLoNih_2Fwydp7-foCW9nY4P1uccbfWdY79SVhe4FF7-dQ@mail.gmail.com \
--to=turakas@gmail.com \
--cc=ding@gnus.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.
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 NNTP newsgroup(s).