Hi everybody!
I am trying to exercise possibility of e-mailing crystal report ... So i am trying to use SMTP Mail class...
here is the code from MSDN:
string from = "from@microsoft.com";
string to = "to@microsoft.com";
string subject = "UtilMailMessage001";
string body = "<html><body>UtilMailMessage001 - s</body></html>";
SmtpMail.Send (from, to, subject, body);
In my case I’ll try to put report as a "body"...
Getting error 'Could not access CDO.message'
Any ideas why? maybe there is a better way of sending report to the mail ?
Please help !!! Going circles...
Thank you
I am trying to exercise possibility of e-mailing crystal report ... So i am trying to use SMTP Mail class...
here is the code from MSDN:
string from = "from@microsoft.com";
string to = "to@microsoft.com";
string subject = "UtilMailMessage001";
string body = "<html><body>UtilMailMessage001 - s</body></html>";
SmtpMail.Send (from, to, subject, body);
In my case I’ll try to put report as a "body"...
Getting error 'Could not access CDO.message'
Any ideas why? maybe there is a better way of sending report to the mail ?
Please help !!! Going circles...
Thank you