I'm having troubles using persists email api in ASP.NET I've copied their code verbatium from their website, but it doesn't work.
The following is the code that to me should would just fine, however it doesn't. I get two errors...
1. 'ASPEMAILLib.IMailSender' denotes a 'class' where a 'variable' was expected
2. No overload for method 'Send' takes '0' arguments <-- This error is because the send function says it needs an object to send.. let so IMailer.send(object PATH) But the examples from their support site doesn't ever show this. ??? What does in there...
objMail = ASPEMAILLib.IMailSender;
objMail.Host = "sendmail.brinkster.com";
objMail.MailFrom = "email@example.com";
objMail.FromName = "Error Reporting";
objMail.Subject = "Reporting Errors, SIR";
objMail.Body = "<HTML><BODY>";
objMail.Body += Message;
objMail.IsHTML = 1;
DOes anyone have a working version of how to use this API and send mail from a function in code-behind?
btw. Yes the dll is referenced in VS.NET and it's registered on my server.