info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SMTP-AUTH and TLS


From: Reiner Steib
Subject: Re: SMTP-AUTH and TLS
Date: Thu, 04 Oct 2007 18:44:33 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

On Thu, Oct 04 2007, Tobias Brink wrote:

> Tobias Brink <tobias.brinkNO.SPAM@gmail.com> writes:
>> I have the following in my .gnus.el:
>>
>>   (setq send-mail-function 'smtpmail-send-it)
>>   (setq message-send-mail-function 'smtpmail-send-it)
>>   (setq smtpmail-starttls-credentials
>>       '(("smtp.myserver.tld" 25 nil nil)))
>>   (setq smtpmail-default-smtp-server "smtp.myserver.tld")
>
> And strangely adding the following at the top fixes it:
>
> ,----
> | (require 'smtpmail)
> | (setq smtpmail-smtp-server "smtp.myserver.tld")
> `----

The doc string of `smtpmail-default-smtp-server' explains it:

,----[ <f1> v smtpmail-default-smtp-server RET ]
| smtpmail-default-smtp-server is a variable defined in `smtpmail'.
| Its value is nil
| 
| Documentation:
| *Specify default SMTP server.
| This only has effect if you specify it before loading the smtpmail library.
| 
| You can customize this variable.
`----

I must admit that I don't understand, why having both variables is a
good idea.

Please follow up on ding, when discussing this:
  Mail-Followup-To: <ding@gnus.org>
[Hope this survives all the nntp<->mail gateways.]

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]