Re: Guile: unbound variable mu-mailer

Sergey Poznyakoff <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Organization GNU.org.ua
Message-ID <[email protected]>
Jean Louis <[email protected]> ha escrit:

> This is not really a bug, maybe it is.

> 1) I am trying to set From field, would this be correct?
> 
> (mu-message-set-header msg "From" "[email protected]" #t)

Yes,

> 2) How do I set or configure: mu-username->email in the system?

mu-username->email is a function, how do you want to "configure" it?

> 3) If I review the msg object:
> $25 = #<message "[email protected]" "Thu Dec 15 08:23"   3 56 >
> 
> then I can see there is missing time zone, it should be there, just

It should not. See my previous mail.

> (mu-message-send msg)
> 
> I get problem:
> 
> ERROR: In procedure mu-message-send:
> ERROR: In procedure module-lookup: Unbound variable: mu-mailer
> 
> so, how to set the mu-mailer?

Looks like a bug: the variable was not exported.  Please add the
following to the end of your mailutils.scm file:

(export mu-mailer)

Also, make sure to call (mu-register-format) prior to sending.
See its docstring for more info.

Regards,
Sergey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.