Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
3299ba4d
...
3299ba4d0a6b69680931d01da9b033a562099a55
authored
2003-09-21 15:57:02 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Updated
1 parent
4e07d766
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
0 deletions
ChangeLog
mh/README
ChangeLog
View file @
3299ba4
2003
-
09
-
21
Sergey
Poznyakoff
Added
decoding
of
RFC
2047
headers
to
MUA
programs
(
mail
and
mh
).
Fixed
incorrect
session
termination
in
imap
and
pop
clients
.
*
mailbox
/
locale
.
c
:
New
file
.
Contains
locale
-
dependent
functions
.
*
mailbox
/
Makefile
.
am
:
Added
locale
.
c
*
include
/
mailutils
/
mutil
.
h
(
mu_charset_lookup
)
:
New
function
.
*
mail
/
from
.
c
(
mail_from0
)
:
Use
util_rfc2047_decode
for
"From"
and
"Subject"
headers
.
*
mail
/
mail
.
c
(
main
)
:
Set
default
value
for
the
"charset"
variable
.
*
mail
/
mail
.
h
(
util_rfc2047_decode
)
:
New
function
.
*
mail
/
util
.
c
:
Likewise
.
*
mail
/
print
.
c
:
Use
util_rfc2047_decode
for
printing
headers
.
*
doc
/
texinfo
/
programs
.
texi
:
Documented
"charset"
mail
variable
*
mh
/
mh_format
.
c
(
mh_format
)
:
Use
header_aget_value_unfold
when
retrieving
the
header
value
.
(
builtin_decode
)
:
New
function
.
Implements
(
decode
).
*
mh
/
README
:
Updated
*
mailbox
/
imap
/
folder
.
c
(
authenticate_imap_sasl_anon
)
:
Fixed
typo
in
debug
output
.
(
folder_imap_open
)
:
Issue
LOGOUT
if
all
the
authentication
methods
have
failed
.
*
mailbox
/
imap
/
mbox
.
c
(
imap_get_fd
)
:
Removed
.
Use
imap_get_fd2
instead
.
*
mailbox
/
pop
/
mbox
.
c
(
_pop_user
)
:
Do
not
close
the
stream
on
authentication
failures
.
*
imap4d
/
login
.
c
:
Minor
fix
2003
-
09
-
20
Sergey
Poznyakoff
Install
under
mailutils
/
gnu
only
those
headers
which
are
...
...
mh/README
View file @
3299ba4
...
...
@@ -23,6 +23,21 @@ options is provided for backward compatibility.
** New functions
*** decode
Argument: string
Return: string
Decodes the input string as per RFC 2047. Useful in printing From:,
To: and Subject: headers.
Notice that, unlike the similar NMH function, decode checks the value
of the global profile variable "Charset" to determine the charset
to output the result in. If this variable is not set, decode returns
its argument without any change. If this variable is set to "auto",
decode tries to determine the charset name from the setting of
LC_ALL environment variable. Otherwise, the value of "Charset" is
taken to be the name of the character set.
*** package
Argument: none
Return: string
...
...
@@ -134,6 +149,16 @@ Generates the value for the References: header according to RFC 2822.
* New profile variables:
** Charset
Controls the character set in which the components decoded via
the `decode' format function should be output (see `decode' above).
By default this variable is not set, which means that no decoding
takes place. If it is set to "auto", `decode' tries to determine
the charset name from the setting of LC_ALL environment variable.
Otherwise, the value of "Charset" is taken to be the name of the
character set.
** Reply-Regex
Sets the regular expression used to recognize reply messages. The
...
...
Please
register
or
sign in
to post a comment