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)
/* Prepare the header */
if (util_getenv (NULL, "xmailer", Mail_env_boolean, 0) == 0)
mu_header_set_value (env->header, "X-Mailer", argp_program_version, 1);
mu_header_set_value (env->header, MU_HEADER_X_MAILER,
argp_program_version, 1);
if (util_header_expand (&env->header) == 0)
{
......