(mail_send0): Use MU_HEADER_X_MAILER
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -482,7 +482,8 @@ mail_send0 (compose_env_t * env, int save_to) | ... | @@ -482,7 +482,8 @@ mail_send0 (compose_env_t * env, int save_to) |
482 | 482 | ||
483 | /* Prepare the header */ | 483 | /* Prepare the header */ |
484 | if (util_getenv (NULL, "xmailer", Mail_env_boolean, 0) == 0) | 484 | if (util_getenv (NULL, "xmailer", Mail_env_boolean, 0) == 0) |
485 | mu_header_set_value (env->header, "X-Mailer", argp_program_version, 1); | 485 | mu_header_set_value (env->header, MU_HEADER_X_MAILER, |
486 | argp_program_version, 1); | ||
486 | 487 | ||
487 | if (util_header_expand (&env->header) == 0) | 488 | if (util_header_expand (&env->header) == 0) |
488 | { | 489 | { | ... | ... |
-
Please register or sign in to post a comment