From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81983 Path: news.gmane.org!not-for-mail From: mihkel Newsgroups: gmane.emacs.gnus.general Subject: Can't send message through smtp with gmail Date: Wed, 27 Jun 2012 13:25:43 +0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1340829385 31692 80.91.229.3 (27 Jun 2012 20:36:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2012 20:36:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30253@lists.math.uh.edu Wed Jun 27 22:36:24 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SjyyN-0003pB-Bh for ding-account@gmane.org; Wed, 27 Jun 2012 22:36:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SjyxD-0007xJ-Je; Wed, 27 Jun 2012 15:35:11 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SjpRY-0005VR-9m for ding@lists.math.uh.edu; Wed, 27 Jun 2012 05:25:52 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SjpRW-0003RU-T8 for ding@lists.math.uh.edu; Wed, 27 Jun 2012 05:25:51 -0500 Original-Received: from mail-we0-f172.google.com ([74.125.82.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SjpRV-0000N3-BE for ding@gnus.org; Wed, 27 Jun 2012 12:25:49 +0200 Original-Received: by werb13 with SMTP id b13so804480wer.17 for ; Wed, 27 Jun 2012 03:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LDBBPWH/UzvQJWvP12ZZWTvUGbqiDKM9mIAPmon1atU=; b=elT3cXiUJoq0zN045uDU+g+5R/mLKaGjSgMtW945OOAhMZg79fw8G1Pomg/ISUooXt rLI/s6sZQrmREJPYf/SbDSSyUWIBmmBfrhL+3mf7DmO57MPamJ8him4iU4yPZRerr60a BAKNZNHN+/k3/ePMSfTwAbJEowMD8REhfP/gR9exuEDUC34/2XW25k0oGl57lo/KT7+3 nKuNwXSDd16doptHRdx0ch+/y0hEcMUSbGKA7PN18mGe3Rc7PR5WeYKn3N6FLmIyfMp8 sqJAJEFKKzARyfoUPYp3ouBKhHkW/R07Wv4ua08Fh24x8hhLI9IsDFKbU0OOr2j6tX9V zPew== Original-Received: by 10.217.0.193 with SMTP id l43mr3557792wes.180.1340792743617; Wed, 27 Jun 2012 03:25:43 -0700 (PDT) Original-Received: by 10.194.36.136 with HTTP; Wed, 27 Jun 2012 03:25:43 -0700 (PDT) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81983 Archived-At: 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