M
Mark B
This is a bit of a generic question but what's the difference between:
mSmtpClient.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis
and
mSmtpClient.SendAsync(mMailMessage, mToken)
I have a webpage hosted on Godaddy which emails OK until I try to use either
of these statements. I just don't want the user to have to wait until the
page sends the email before they are progressed to the next page. Sometimes
it takes about 20 seconds.
mSmtpClient.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis
and
mSmtpClient.SendAsync(mMailMessage, mToken)
I have a webpage hosted on Godaddy which emails OK until I try to use either
of these statements. I just don't want the user to have to wait until the
page sends the email before they are progressed to the next page. Sometimes
it takes about 20 seconds.