开发者

Send many mail problem

开发者 https://www.devze.com 2023-01-12 03:47 出处:网络
I\'m creating newsletter in asp.net. I\'m sending to 2000 email recipients. This operation iterate every mail and send using SMTP mail. Please see my previous question .My server use hmailserver.

I'm creating newsletter in asp.net. I'm sending to 2000 email recipients. This operation iterate every mail and send using SMTP mail. Please see my previous question .My server use hmailserver.

My problem is

Sometimes this error shown: Mailbox unavailable. The server response was: 5.1.1 Recipient address rejected: User unknown in r开发者_如何学编程elay recipient table

or

Mailbox unavailable. The server response was: Unknown user Mailbox unavailable. The server response was: Unknown user


You should send mail to each recipient separately. But instead of using Send method use SendAsync method. You can hook SendCompleted so you know which recepient passed a which failed.

0

精彩评论

暂无评论...
验证码 换一张
取 消