Issue #41 - remove extra space from MAIL FROM and RCPT TO commands
This commit is contained in:
parent
cb04e35bed
commit
6b676827fe
@ -364,7 +364,7 @@ bool SmtpClient::sendMail(MimeMessage& email)
|
|||||||
// To (primary recipients)
|
// To (primary recipients)
|
||||||
for (it = email.getRecipients().begin(), itEnd = email.getRecipients().end();
|
for (it = email.getRecipients().begin(), itEnd = email.getRecipients().end();
|
||||||
it != itEnd; ++it)
|
it != itEnd; ++it)
|
||||||
{
|
|
||||||
sendMessage("RCPT TO:<" + (*it)->getAddress() + ">");
|
sendMessage("RCPT TO:<" + (*it)->getAddress() + ">");
|
||||||
waitForResponse();
|
waitForResponse();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user