Beispiel #1
0
void MDNHelper::attachMDNRequest(ref <message> msg, const mailbox& mbox)
{
	mailboxList mboxList;
	mboxList.appendMailbox(mbox.clone().dynamicCast <mailbox>());

	attachMDNRequest(msg, mboxList);
}
Beispiel #2
0
void MDNHelper::attachMDNRequest(std::shared_ptr<message> msg, const mailbox& mbox)
{
	mailboxList mboxList;
	//mboxList.appendMailbox(mbox.clone().dynamicCast <mailbox>()); TODO shared
	mboxList.appendMailbox(std::dynamic_pointer_cast<mailbox>(mbox.clone()));

	attachMDNRequest(msg, mboxList);
}