I have used AspEmail for some years now and have succesfully tried to migrate from ASP to ASP.Net.
I have also used the component from a stored procedure in SQL Server without any problems.
Now I want to use it in a Windows Application.
I have a reference to ASPEMAILLib and I can initialize an object like this:
ASPEMAILLib.IMailSender _objMail = new ASPEMAILLib.MailSender();
But when I call _objMail .Send I get the following error:
System.AccessViolationException was caught
Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
at ASPEMAILLib.MailSenderClass.Send(Object Path)
at ATMailSender.frmMailSender.SendMailBatchForMailServer() in C:\Visual Studio 2005\Projects\ATMailSender\ATMailSender\frmMailSender.cs:line 137
Can anybody help?