mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Send domain with HELO
This commit is contained in:
parent
8423f4213d
commit
a4a3940c86
@ -741,10 +741,10 @@ sendSMTPStart(ptcx_t ptcx, mail_command_t *cmd, cmd_stats_t *ptimer)
|
||||
|
||||
if (pish->useEHLO != 0) {
|
||||
/* send extended EHLO */
|
||||
sprintf(command, "EHLO %s%s", gs_thishostname, CRLF);
|
||||
sprintf(command, "EHLO %s" CRLF, gs_thishostname);
|
||||
} else {
|
||||
/* send normal HELO */
|
||||
sprintf(command, "HELO%s", CRLF);
|
||||
sprintf(command, "HELO %s" CRLF, gs_thishostname);
|
||||
}
|
||||
event_start(ptcx, &stats->cmd);
|
||||
rc = doSmtpCommandResponse(ptcx, ptcx->sock, command, respBuffer, sizeof(respBuffer));
|
||||
|
Loading…
Reference in New Issue
Block a user