mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
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:
parent
ebbacc548a
commit
f306806afc
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user