antic
Perch
I'm wondering if I can use the "pickup directory" method of sending email in .NET? The code begins like this:
When I try this method, an error results: "Cannot get IIS pickup directory."
I know that sometimes the pickup directory needs to be specified in web.config. Is this the case, or is using SMTP the only method available? I'm asking because SMTP can be very slow when sending a bunch of emails at the same time, whereas the pickup method is very efficient.
Please say it's available!
Code:
Dim oSMTP As New Net.Mail.SmtpClient
oSMTP.DeliveryMethod = Net.Mail.SmtpDeliveryMethod.PickupDirectoryFromIis
I know that sometimes the pickup directory needs to be specified in web.config. Is this the case, or is using SMTP the only method available? I'm asking because SMTP can be very slow when sending a bunch of emails at the same time, whereas the pickup method is very efficient.
Please say it's available!