From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17782 invoked from network); 25 Jan 2021 23:38:34 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 25 Jan 2021 23:38:34 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1l4BRH-0039ny-9y for ml@inbox.vuxu.org; Mon, 25 Jan 2021 17:38:31 -0600 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1l4BRG-008Wi6-MU for ml@inbox.vuxu.org; Mon, 25 Jan 2021 17:38:30 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1l4BRF-008Wi1-Rl for ding@lists.math.uh.edu; Mon, 25 Jan 2021 17:38:29 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1l4BQz-00377e-6K for ding@lists.math.uh.edu; Mon, 25 Jan 2021 17:38:29 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Nv8erLQFJV8hfYu3r/QHD/m/+MLGMHUKK8G/wNZ6/t0=; b=qgRDZxEOsRXR9Dp6KxmTnjmcV/ EwD1ugCc+/u+f+ARhEY2pmRUed5cx33tuwSET+iZlLdOR/CAmuLhvWbKqO4sQZ7P6mT1ztyC53KGe XI8ncJaBpXIh+szWQzS3+huKKxzRUad+4UMr/wLSL/tqu5RWiCO1MLx7DlmV3l2UFh64=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4BQq-0002Yu-5I for ding@gnus.org; Tue, 26 Jan 2021 00:38:08 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1l4BQp-0005b7-Ff for ding@gnus.org; Tue, 26 Jan 2021 00:38:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Harry Putnam Subject: Re: howto have nnimap setup for smtp out Date: Mon, 25 Jan 2021 18:37:48 -0500 Organization: Still searching... Message-ID: <87czxs610z.fsf@local.lan> References: <87czxzprau.fsf@local.lan> <87r1mfvbnj.fsf@gmail.com> <87zh0w7j70.fsf@local.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:LoR+pkLkQg6uMCrHIM6dtVmLENA= List-ID: Precedence: bulk Harry Putnam writes: > Robert Pluim writes: > >>>>>>> On Wed, 20 Jan 2021 10:21:45 -0500, Harry Putnam said: [...] >> Sending email from gnus using smtp is entirely separate from imap. Iʼd >> recommend something like >> >> (setq send-mail-function smtpmail-send-it >> smtpmail-smtp-server "smtp.gmail.com" >> smtpmail-stream-type tls >> smtpmail-smtp-service 465 >> user-mail-address "yourusername@gmail.com") >> > > I tried that out with these changes: > > (setq send-mail-function smtpmail-send-it > smtpmail-smtp-server "smtp.gmail.com" > smtpmail-stream-type tls > smtpmail-smtp-service 465 > user-mail-address "hputnam3@gmail.com") Sorry, about half of my post got left out: I discovered it would not work and so saved the backtrace to include in this mail but then didn't do it. ('smtpmail-send-it) so tried it that way too, but still fails, again saved a back trace Debugger entered--Lisp error: (void-variable smtpmail-send-it) (setq send-mail-function smtpmail-send-it) eval-region(380 578) ; Reading at buffer position 578 funcall-interactively(eval-region 380 578) call-interactively(eval-region record nil) command-execute(eval-region record) execute-extended-command(nil "eval-region" nil) funcall-interactively(execute-extended-command nil "eval-region" nil) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) But I got to looking at the code you sent and started thinking there was a single quote missing right before smtpmail-send-it like ('smtpmail-send-it) so tried it that way too, but still fails, again saved a back trace Debugger entered--Lisp error: (void-variable smtpmail-stream-type) eval-region(380 579) ; Reading at buffer position 579 funcall-interactively(eval-region 380 579) call-interactively(eval-region record nil) command-execute(eval-region record) execute-extended-command(nil "eval-region" nil) funcall-interactively(execute-extended-command nil "eval-region" nil) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) So wasn't really able to test it in mail