On Thu, Oct 04 2007, Tobias Brink wrote:

> Tobias Brink <[EMAIL PROTECTED]> 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: <[EMAIL PROTECTED]>
[Hope this survives all the nntp<->mail gateways.]

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to