Gnus development mailing list
 help / color / mirror / Atom feed
* Can't send message through smtp with gmail
@ 2012-06-27 10:25 mihkel
  2012-06-27 22:28 ` Katsumi Yamaoka
  0 siblings, 1 reply; 8+ messages in thread
From: mihkel @ 2012-06-27 10:25 UTC (permalink / raw)
  To: ding

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-06-29  9:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-27 10:25 Can't send message through smtp with gmail mihkel
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

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).