Issue #41 - remove extra space from MAIL FROM and RCPT TO commands
This commit is contained in:
parent
ee14ff7e00
commit
6ea91ad3cb
@ -355,7 +355,7 @@ void SmtpClient::changeState(SmtpClient::ClientState state) {
|
||||
|
||||
/* --- MAIL --- */
|
||||
case _MAIL_0_FROM:
|
||||
sendMessage("MAIL FROM: <" + email->getSender().getAddress() + ">");
|
||||
sendMessage("MAIL FROM:<" + email->getSender().getAddress() + ">");
|
||||
break;
|
||||
|
||||
case _MAIL_1_RCPT_INIT:
|
||||
@ -383,7 +383,7 @@ void SmtpClient::changeState(SmtpClient::ClientState state) {
|
||||
|
||||
case _MAIL_2_RCPT:
|
||||
if (addressIt != addressItEnd) {
|
||||
sendMessage("RCPT TO: <" + addressIt->getAddress() + ">");
|
||||
sendMessage("RCPT TO:<" + addressIt->getAddress() + ">");
|
||||
addressIt++;
|
||||
} else {
|
||||
changeState(_MAIL_1_RCPT_INIT);
|
||||
|
Loading…
Reference in New Issue
Block a user