all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Problems with new smtpmail
Date: Wed, 06 Jul 2011 03:46:49 +0200	[thread overview]
Message-ID: <87wrfwrxiu.fsf@wanadoo.es> (raw)

After building emacs with the sources from July 1, I can't send e-mails
anymore.

NEWS contain some info, but insufficient.

This is my setup:

(custom-set-variables
 ...
 '(message-send-mail-function (quote smtpmail-send-it))
 '(send-mail-function (quote smtpmail-send-it))
 '(smtpmail-default-smtp-server "smtp.server.net")
...
 )

(load-library "smtpmail")

(setq smtpmail-auth-credentials  ; or use ~/.authinfo
       '(("smtp.server.net" 25 "mylogin" "mypass")))

First, smtpmail-default-smtp-server is ignored. I have to set it with
setq before (load-library "smtpmail"). The documentation for
smtpmail-default-smtp-server says it is only effective if setted before
smtpmail is loaded, but it would be nice to mention that on NEWS too for
the benefit of those who used Emacs' standard customization interface
for setting the variable.

Second, NEWS says that smtpmail-auth-credentials no longer exists, but

".. if it were a direct list of user names and passwords, you will be
prompted for the user name and the password instead, and they will then
be saved to ~/.authinfo."

The above makes me think that smtpmail does something with
smtpmail-auth-credentials if it is assigned, which is contrary to my
experience, but maybe the questions are made on a stage that I didn't
reach, because the problem mentioned below.

So I go ahead and add

machine smtp.server.net login mylogin password mypass

to ~/.authinfo.

but sending mail fails with this:

smtpmail-send-it: Sending failed: Server supports STARTTLS, but Emacs
does not have support for it

Emacs worked fine for sending mail through that smtp server for
years. Now it seems that something is missing. What's the problem?

In any case, I find the information about the smtpmail change in NEWS
very sparse. Please note that most people is not an expert on mail
protocols and configured Emacs following recipes, possibly long time
ago. It is desirable to provide thorough documentation for updating the
most usual configurations to the new requirements.




             reply	other threads:[~2011-07-06  1:46 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06  1:46 Óscar Fuentes [this message]
2011-07-06 15:03 ` Problems with new smtpmail Lars Magne Ingebrigtsen
2011-07-06 15:10   ` Lars Magne Ingebrigtsen
2011-07-06 15:52     ` Óscar Fuentes
2011-07-06 16:25       ` Lars Magne Ingebrigtsen
2011-07-06 16:01     ` Óscar Fuentes
2011-07-06 15:46   ` Óscar Fuentes
2011-07-06 16:00     ` Lars Magne Ingebrigtsen
2011-07-06 16:30       ` Óscar Fuentes
2011-07-06 16:52         ` Lars Magne Ingebrigtsen
2011-07-06 17:55           ` Eli Zaretskii
2011-07-06 18:08             ` Lars Magne Ingebrigtsen
2011-07-07  3:13               ` Eli Zaretskii
2011-07-06 18:15           ` Óscar Fuentes
2011-07-06 19:48             ` Lars Magne Ingebrigtsen
2011-07-06 20:34               ` Óscar Fuentes
2011-07-06 20:38               ` Sam Steingold
2011-07-06 21:34                 ` Lars Magne Ingebrigtsen
2011-07-06 22:19                   ` Sam Steingold
2011-07-06 22:25                     ` Lars Magne Ingebrigtsen
2011-07-06 20:41   ` Sam Steingold
2011-07-06 21:38     ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wrfwrxiu.fsf@wanadoo.es \
    --to=ofv@wanadoo.es \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.