if (EHLOset ("8BITMIME") && EHLOset ("SMTPUTF8")) {
mail_parameters = " BODY=8BITMIME SMTPUTF8";
} else {
+ advise (NULL, "SMTP server does not support %s, not sending.\n"
+ "Rebuild message with 7-bit headers, WITHOUT -headerencoding utf-8.",
+ EHLOset ("SMTPUTF8") ? "8BITMIME" : "SMTPUTF8");
sm_end (NOTOK);
return RP_UCMD;
}
} else {
advise (NULL, "SMTP server does not support 8BITMIME, not sending.\n"
"Suggest encoding message for 7-bit transport by setting your\n"
- "locale to C, and/or specifying *b64 in mhbuild directives.\n");
+ "locale to C, and/or specifying *b64 in mhbuild directives.");
sm_end (NOTOK);
return RP_UCMD;
}
post: SMTP server does not support 8BITMIME, not sending.
Suggest encoding message for 7-bit transport by setting your
locale to C, and/or specifying *b64 in mhbuild directives.
-
post: problem initializing server; [BHST] ready; I'll buy that for a dollar!
send: message not delivered to anyone
EOF
QUIT
EOF
cat > "${testname}.expected.err" <<EOF
+post: SMTP server does not support SMTPUTF8, not sending.
+Rebuild message with 7-bit headers, WITHOUT -headerencoding utf-8.
post: problem initializing server; [BHST] ready; I'll buy that for a dollar!
send: message not delivered to anyone
EOF