unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: torys.anderson@gmail.com (Tory S. Anderson)
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: > 24.3 can't send mail
Date: Sat, 07 Feb 2015 11:26:48 -0500	[thread overview]
Message-ID: <87vbjdpu0n.fsf@gmail.com> (raw)
In-Reply-To: <83d25lbwu1.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 07 Feb 2015 16:49:42 +0200")

Thanks for your help and suggestions. I managed to get it to send an email with one of my hosted smtp servers; I never did get it to work with the gmail smtp servers, though; it just seems to wait indefinitely and C-g brings the TLS error. I submitted a bug report for those. And I'm a far-cry from getting it going with my other half-dozen email addresses. Looks like I'll be sitting with 24.3 for a while. 

Thanks again, 
- Tory

Eli Zaretskii <eliz@gnu.org> writes:

>> From: torys.anderson@gmail.com (Tory S. Anderson)
>> Date: Sat, 07 Feb 2015 09:29:03 -0500
>> 
>> I should add that the setup I'm using for mail, which has worked for years prior to 24.4+, is mostly borrowed from the emacs page http://www.emacswiki.org/emacs/SendingMail. To be precise, my source is this: 
>> 
>> --8<---------------cut here---------------start------------->8---
>> (defvar smtp-accounts
>>   '(
>>     (ssl "torys.anderson@gmail.com" "smtp.gmail.com"
>> 	 587 "torys.anderson@gmail.com" secret) ;; Public
>> ;; other accounts omitted
>>     ))
>> 
>> 
>> ;; Now lets configure smtpmail.el with your name and functions to send
>> ;; mail using your smtp accounts by changing the from field
>> (require 'smtpmail)
>> (setq send-mail-function 'smtpmail-send-it
>>       message-send-mail-function 'smtpmail-send-it
>>       mail-from-style nil user-full-name "Tory S. Anderson"
>>       smtpmail-debug-info t smtpmail-debug-verb t)
>> 
>> (defun set-smtp (mech server port user password)
>>   "Set related SMTP variables for supplied parameters."
>>   (setq smtpmail-smtp-server server smtpmail-smtp-service port
>> 	smtpmail-auth-credentials (list (list server port user
>> 					      password)) smtpmail-auth-supported (list mech)
>> 					      smtpmail-starttls-credentials nil)
>>   (message "Setting SMTP server to `%s:%s' for user `%s'."
>> 	   server port user))
>
> I think the problem is with smtpmail-auth-credentials and
> smtpmail-starttls-credentials: in Emacs 24 you need to set that in
> your ~/.authinfo file.  See etc/NEWS for the details (search for
> "SMTPmail").



  parent reply	other threads:[~2015-02-07 16:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-07 13:35 > 24.3 can't send mail Tory S. Anderson
2015-02-07 14:29 ` Tory S. Anderson
2015-02-07 14:49   ` Eli Zaretskii
2015-02-07 15:31     ` Tory S. Anderson
2015-02-07 15:37       ` Eli Zaretskii
2015-02-07 16:26     ` Tory S. Anderson [this message]
2015-02-07 17:51       ` Sivaram Neelakantan
2015-02-08  3:51       ` Dynamically switching send-mail settings (WAS: > 24.3 can't send mail) Tory S. Anderson
2015-02-08 21:49         ` Robert Thorpe
2015-02-09  2:54           ` Dynamically switching send-mail settings Tory S. Anderson
     [not found]           ` <mailman.19558.1423450457.1147.help-gnu-emacs@gnu.org>
2015-02-09  5:03             ` Lars Magne Ingebrigtsen
2015-02-09 12:18               ` Tory S. Anderson
2015-02-18  1:20                 ` Lars Ingebrigtsen
2015-02-18  2:10                   ` Tory S. Anderson
2015-04-15 16:08                 ` 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=87vbjdpu0n.fsf@gmail.com \
    --to=torys.anderson@gmail.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@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.
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).