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
89edd35f
...
89edd35fcc7022f3f31f5dd3d464425a347b522d
authored
2004-04-27 11:41:49 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Do not add X-Mailer if xmailer variable is unset.
1 parent
f619275d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
mail/send.c
mail/send.c
View file @
89edd35
...
...
@@ -442,7 +442,8 @@ mail_send0 (compose_env_t * env, int save_to)
read_cc_bcc
(
env
);
/* Prepare the header */
header_set_value
(
env
->
header
,
"X-Mailer"
,
argp_program_version
,
1
);
if
(
util_getenv
(
NULL
,
"xmailer"
,
Mail_env_boolean
,
0
)
==
0
)
header_set_value
(
env
->
header
,
"X-Mailer"
,
argp_program_version
,
1
);
if
(
util_header_expand
(
&
env
->
header
)
==
0
)
{
...
...
Please
register
or
sign in
to post a comment