Commit 64c2eb81 64c2eb81307ef68b666795a3c140b3cfe485b4a2 by Sergey Poznyakoff

(mail_send0): Use MU_HEADER_X_MAILER

1 parent 6a52dfc0
...@@ -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 {
......