Re: [nant-dev] MailLogger task failing...

2006-06-28 Thread Flex
Woohoo I did it, my first fight with C# and reworked mailtask to use System.Net.Mail, added compatibility so it can still accept the old MailFormat and convert it as appropriate, but I made it obsolete and added the "real" new attribute - MediaType.Text which can be plain, html, xml or rtf. Pen

Re: [nant-dev] MailLogger task failing...

2006-06-28 Thread Martin Aliger
As I (and perhaps other) see it, emailing is pretty minor task for NAnt. But, of course, feel free to implement better task! Maybe depending on new .net2.0 System.Net.Mail namespace (which directly implements smtp protocol). I never used NAn't email task, but I use ccnet's (which is basically the

Re: [nant-dev] MailLogger task failing...

2006-06-28 Thread Flex
And to be even more specific... One of the features of Axosoft's flagship product, OnTime, is the ability to send out email notifications when a defect or feature has been created, changed or deleted.  This feature seemed pretty straight forward and we were excited to find the SMTP class in th

Re: [nant-dev] MailLogger task failing...

2006-06-28 Thread Flex
Aww now I'm even more confused. I though mail sending should be very v??y simple . In short - whatever CDO is I don't have it - missing cdo*.* in system32 folder. In order to install it, I have to either install outlook or ms exchange according to MS site. I checked 3 pcs around - 2003 misses i

Re: [nant-dev] MailLogger task failing...

2006-06-28 Thread Martin Aliger
.net framework (atleast 1.1 for sure) don't send directly to smtp port TCP/25. Instead, it uses CDO object, which is some COM system beast. And this thing has to be inicialized. You have to do it just once. You could uninstall OE then. I dont know, whether Thunderbird uses/inits CDO. Perhaps there

Re: [nant-dev] MailLogger task failing...

2006-06-28 Thread Flex
Thanks... I... I'm confused, first time I have ever heard of CC.net I don't have outlook express, used nlite to strip it out of the OS and thunderbird is my default email client. So something (CDO?) has to be configured in order to send emails although I don't know what or why - in the mail task

Re: [nant-dev] MailLogger task failing...

2006-06-28 Thread Martin Aliger
Hi, try to run some email program on that machine. Outlook Express for example. You need to configure CDO before you're able to send anything. Fresh installs often don't have it configured properly. See also: http://ccnet.thoughtworks.net/display/CCNET/Email+Publisher (Troubleshooting section) M

[nant-dev] MailLogger task failing...

2006-06-28 Thread Flex
Hi guys, I have posted this in the users list but no single message for 2 days so I decided to post here too. I'm trying to let nant send an email upon build complete, but getting this error message: [MailLogger] E-mail could not be sent! System.Web.HttpException: Could not create an object of t