[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: > 24.3 can't send mail
From: |
Eli Zaretskii |
Subject: |
Re: > 24.3 can't send mail |
Date: |
Sat, 07 Feb 2015 16:49:42 +0200 |
> 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").
- > 24.3 can't send mail, Tory S. Anderson, 2015/02/07
- Re: > 24.3 can't send mail, Tory S. Anderson, 2015/02/07
- Re: > 24.3 can't send mail,
Eli Zaretskii <=
- Re: > 24.3 can't send mail, Tory S. Anderson, 2015/02/07
- Re: > 24.3 can't send mail, Sivaram Neelakantan, 2015/02/07
- Dynamically switching send-mail settings (WAS: > 24.3 can't send mail), Tory S. Anderson, 2015/02/07
- Re: Dynamically switching send-mail settings (WAS: > 24.3 can't send mail), Robert Thorpe, 2015/02/08
- Re: Dynamically switching send-mail settings, Tory S. Anderson, 2015/02/08
- Message not available
- Re: Dynamically switching send-mail settings, Lars Magne Ingebrigtsen, 2015/02/09
- Re: Dynamically switching send-mail settings, Tory S. Anderson, 2015/02/09
- Re: Dynamically switching send-mail settings, Lars Ingebrigtsen, 2015/02/17