all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Re: Problems with new smtpmail
Date: Wed, 06 Jul 2011 17:03:03 +0200	[thread overview]
Message-ID: <m3sjqjsb88.fsf@quimbies.gnus.org> (raw)
In-Reply-To: 87wrfwrxiu.fsf@wanadoo.es

Óscar Fuentes <ofv@wanadoo.es> writes:

>  '(smtpmail-default-smtp-server "smtp.server.net")

[...]

> 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.

Yes.  You shouldn't use that variable.  It should probably be marked as
obsolete.  `smtpmail-smtp-server' is the variable that's used.

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

That's correct.

> ".. 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."

That's badly phrased.  I meant to convey that it's ignored, and you will
be prompted for a user name and password, if the SMTP server asks for it.

> 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?

So your server announces that it supports STARTTLS, but doesn't require
it? 

> 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.

You shouldn't need to know anything about SMTP, or edit any files, or
set any variables by hand.  smtpmail.el is meant to handle all that by
querying you for the stuff that it wants to know.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




  reply	other threads:[~2011-07-06 15:03 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06  1:46 Problems with new smtpmail Óscar Fuentes
2011-07-06 15:03 ` Lars Magne Ingebrigtsen [this message]
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=m3sjqjsb88.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --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.