all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problems with new smtpmail
@ 2011-07-06  1:46 Óscar Fuentes
  2011-07-06 15:03 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 22+ messages in thread
From: Óscar Fuentes @ 2011-07-06  1:46 UTC (permalink / raw
  To: emacs-devel

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.




^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2011-07-07  3:13 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-06  1:46 Problems with new smtpmail Óscar Fuentes
2011-07-06 15:03 ` 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

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.