mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 03:20:11 +01:00
SF #3538785: SMTPClientSession::sendMessage() should take recipient list
This commit is contained in:
@@ -133,6 +133,12 @@ void MailMessage::addRecipient(const MailRecipient& recipient)
|
||||
}
|
||||
|
||||
|
||||
void MailMessage::setRecipients(const Recipients& recipients)
|
||||
{
|
||||
_recipients.assign(recipients.begin(), recipients.end());
|
||||
}
|
||||
|
||||
|
||||
void MailMessage::setSender(const std::string& sender)
|
||||
{
|
||||
set(HEADER_FROM, sender);
|
||||
|
||||
Reference in New Issue
Block a user