help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: mail- and sendmail-user-agent


From: Reiner Steib
Subject: Re: mail- and sendmail-user-agent
Date: Mon, 22 Feb 2010 20:17:24 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux)

On Mon, Feb 22 2010, Mauro Sacchetto wrote:

> Reiner Steib wrote:
>> I think the former is incorrect or at least gives undefined results.
>> I'd suggest to use (setq mail-user-agent 'message-user-agent).
>
> Yes, u're right, but my problem is: in some How-To I red
> that the syntax to switch from MailMode to Message mode is set:
> (setq send-mail-function 'smtpmail-send.it) <-- MailMode
> and
> (setq message-send-mail-function 'smtpmail-send.it) <-- MessageMode
> The last string doesn't work for me, 

smtpmail-send.it is nonsense.  Please refer to the official
documentation instead of some random how-to on the web.

,----[ <f1> v message-send-mail-function RET ]
| message-send-mail-function is a variable defined in `message.el'.
| Its value is 
| message-send-mail-with-sendmail
| 
| Documentation:
| Function to call to send the current buffer as mail.
| The headers should be delimited by a line whose contents match the
| variable `mail-header-separator'.
| 
| Valid values include `message-send-mail-with-sendmail'
| `message-send-mail-with-mh', `message-send-mail-with-qmail',
| `message-smtpmail-send-it', `smtpmail-send-it',
| `feedmail-send-it' and `message-send-mail-with-mailclient'.  The
| default is system dependent and determined by the function
| `message-send-mail-function'.
| 
| See also `send-mail-function'.
| 
| You can customize this variable.
| 
| [back]
`----

> while does work the following two ones:
> (setq mail-user-agent 'message-user-agent)
> (require 'smtpmail)
> So I don't understand if I forget anything in the first solution
> for MessageMode...

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]