Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Resend email when it could not be send

$
0
0

Hi,

I have a webservices that use SmtpClient to send emails. 

There are times I get this error: "Attempted to read or write protected memory  This is often an indication that other memory is corrupt" in the SharePoint server log and as a result the email could not be send.

I do use "try" and "catch" in my c# code when I send email, is there a way to keep trying to send the email until it is sent? Or is there any way to make sure the email is send?

Please advice. You help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>