asking the smtp service to send a message requires you to pass in a url listener (which can be nsnull if you don't care).

This commit is contained in:
mscott%netscape.com 1999-03-03 01:24:56 +00:00
parent ebbacc548a
commit f306806afc

View File

@ -4888,9 +4888,9 @@ void nsMsgSendMimeDeliveryState::DeliverFileAsMail ()
if (NS_SUCCEEDED(rv) && smtpService)
{
if (pSmtpServer)
rv = smtpService->SendMailMessage(filePath, pSmtpServer, m_fields->GetFrom(), buf, nsnull);
rv = smtpService->SendMailMessage(filePath, pSmtpServer, m_fields->GetFrom(), buf, nsnull, nsnull);
else
rv = smtpService->SendMailMessage(filePath, "", m_fields->GetFrom(), buf, nsnull);
rv = smtpService->SendMailMessage(filePath, "", m_fields->GetFrom(), buf, nsnull, nsnull);
nsServiceManager::ReleaseService(kSmtpServiceCID, smtpService);
}