开发者

How to avoid resending emails or missing emails in this case? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. 开发者_运维百科

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 8 years ago.

Improve this question
dataContext.saveSend(true);
SendEmailsToAllMembers();

I have the code above, if after half of the emails were sent out, there is a error in smtp, then how can I avoid resending emails or missing emails in this cases ?


Inside the SendEmailsToAllMembers you could store which emails have been successfully sent to. Repeat calls to the method could check if this email has already been sent successfully and therefore not resend it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜