From: Ken (conker) <co...@gm...> - 2006-08-15 06:34:13
|
Hi, I seem to have everything working with CruiseControl.NET except for the email publisher. I did see this note on the website. You may experience an exception that looks like this when the ccnet server tries to send an email: System.Web.HttpException: Could not access 'CDO.Message' object. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80040213): The transport failed to connect to the server. This is likely due to not having CDO properly installed on the build server. To fix this, make sure that you have some sort of email client installed (Outlook Express is probably there by default). Outlook Express doesn't actually initialise CDO until you actually open it, so try and use the client to send an email just to verify that everything works. But the following exceptions are thrown even with Outlook open. I have tried the following: 1. Turned Firewall OFF 2. Made sure the email from field is an address that exists on the mail server 3. Tried specifying an ip for the mailhost. I tried both gmail and yahoo smtp mail servers. Is is because they are on different ports? Is there a way to specify the port? What am I doing wrong? Below are the errors being logged. Thank you for listening. -Ken 8/13/2006 1:35:15 AM: [FreeFall:Error]: Publisher threw exception: ThoughtWorks.CruiseControl.Core.CruiseControlException: EmailPublisher exception: System.Web.HttpException: The transport failed to connect to the server. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80040213): The transport failed to connect to the server. --- End of inner exception stack trace --- at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) --- End of inner exception stack trace --- at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) at System.Web.Mail.SmtpMail.CdoSysHelper.Send(MailMessage message) at System.Web.Mail.SmtpMail.Send(MailMessage message) at ThoughtWorks.CruiseControl.Core.Publishers.EmailGateway.Send(String from, String to, String subject, String messageText) at ThoughtWorks.CruiseControl.Core.Publishers.EmailPublisher.SendMessage(String from, String to, String subject, String message) ---> System.Web.HttpException: The transport failed to connect to the server. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80040213): The transport failed to connect to the server. --- End of inner exception stack trace --- at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) --- End of inner exception stack trace --- at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) at System.Web.Mail.SmtpMail.CdoSysHelper.Send(MailMessage message) at System.Web.Mail.SmtpMail.Send(MailMessage message) at ThoughtWorks.CruiseControl.Core.Publishers.EmailGateway.Send(String from, String to, String subject, String messageText) at ThoughtWorks.CruiseControl.Core.Publishers.EmailPublisher.SendMessage(String from, String to, String subject, String message) --- End of inner exception stack trace --- at ThoughtWorks.CruiseControl.Core.Publishers.EmailPublisher.SendMessage(String from, String to, String subject, String message) at ThoughtWorks.CruiseControl.Core.Publishers.EmailPublisher.Run(IIntegrationResult result) at ThoughtWorks.CruiseControl.Core.Project.PublishResults(IIntegrationResult result) |
From: Owen R. <exo...@gm...> - 2006-08-15 13:26:28
|
hi ken, On 14/08/06, Ken (conker) <co...@gm...> wrote: > I seem to have everything working with CruiseControl.NET except for the > email publisher. I did see this note on the website. you may find more helpful information about resolving this problem on the webmail faq site: http://www.systemwebmail.com/faq/4.3.9.aspx cheers, owen. `-- Owen Rogers | http://dotnetjunkies.com/weblog/exortech | CruiseControl.NET - http://ccnet.thoughtworks.com |
From: Kenneth C. <co...@gm...> - 2006-08-15 15:32:20
|
Yes, I looked through there, but there wasn't anything useful. I was hoping that another cc.NET user could point me in the right direction. I have a standard WinXP setup, so I don't really know what's going on? I can telnet to the gmail and yahoo smtp servers, but they listen on different ports than the default one. Can someone suggest another email server I should try? Thanks, -Ken On 8/15/06, Owen Rogers <exo...@gm...> wrote: > > hi ken, > > On 14/08/06, Ken (conker) <co...@gm...> wrote: > > I seem to have everything working with CruiseControl.NET except for the > > email publisher. I did see this note on the website. > > you may find more helpful information about resolving this problem on > the webmail faq site: > http://www.systemwebmail.com/faq/4.3.9.aspx > > cheers, > owen. > `-- > Owen Rogers | http://dotnetjunkies.com/weblog/exortech | > CruiseControl.NET - http://ccnet.thoughtworks.com > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Ccnet-user mailing list > Ccn...@li... > https://lists.sourceforge.net/lists/listinfo/ccnet-user > |
From: Ken <co...@gm...> - 2006-08-20 00:51:08
|
Hi, I am still having problems with email. Does the mailhost have to run on port 25? Thanks. On 8/15/06, Owen Rogers <exo...@gm...> wrote: > > hi ken, > > On 14/08/06, Ken (conker) <co...@gm...> wrote: > > I seem to have everything working with CruiseControl.NET except for the > > email publisher. I did see this note on the website. > > you may find more helpful information about resolving this problem on > the webmail faq site: > http://www.systemwebmail.com/faq/4.3.9.aspx > > cheers, > owen. > `-- > Owen Rogers | http://dotnetjunkies.com/weblog/exortech | > CruiseControl.NET - http://ccnet.thoughtworks.com > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Ccnet-user mailing list > Ccn...@li... > https://lists.sourceforge.net/lists/listinfo/ccnet-user > |
From: Hai-Ping K. C. <hk...@gm...> - 2006-08-20 00:48:02
|
Hi, I am still having problems with email. Does the mailhost have to run on port 25? Thanks. On 8/14/06, Ken (conker) <co...@gm...> wrote: > > Hi, > > > I seem to have everything working with CruiseControl.NET except for the > email publisher. I did see this note on the website. > > > > You may experience an exception that looks like this when the ccnet server > tries to send an email: > > System.Web.HttpException: Could not access 'CDO.Message' object. ---> > > System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> > > System.Runtime.InteropServices.COMException (0x80040213): The transport failed to connect to the server. > > This is likely due to not having CDO properly installed on the build > server. To fix this, make sure that you have some sort of email client > installed (Outlook Express is probably there by default). Outlook Express > doesn't actually initialise CDO until you actually open it, so try and use > the client to send an email just to verify that everything works. > > > > But the following exceptions are thrown even with Outlook open. I have > tried the following: > > 1. Turned Firewall OFF > > 2. Made sure the email from field is an address that exists on the mail > server > > 3. Tried specifying an ip for the mailhost. > > > I tried both gmail and yahoo smtp mail servers. Is is because they are on > different ports? Is there a way to specify the port? > > > What am I doing wrong? Below are the errors being logged. Thank you for > listening. > > > -Ken > > > > > > 8/13/2006 1:35:15 AM: [FreeFall:Error]: Publisher threw exception: > ThoughtWorks.CruiseControl.Core.CruiseControlException: EmailPublisher > exception: System.Web.HttpException: The transport failed to connect to > the server. > > ---> System.Reflection.TargetInvocationException: Exception has been > thrown by the target of an invocation. ---> > System.Runtime.InteropServices.COMException (0x80040213): The transport > failed to connect to the server. > > > > --- End of inner exception stack trace --- > > at System.RuntimeType.InvokeDispMethod(String name, BindingFlags > invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 > culture, String[] namedParameters) > > at System.RuntimeType.InvokeMember(String name, BindingFlags > bindingFlags, Binder binder, Object target, Object[] providedArgs, > ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) > > at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object > obj, String methodName, Object[] args) > > --- End of inner exception stack trace --- > > at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object > obj, String methodName, Object[] args) > > at System.Web.Mail.SmtpMail.CdoSysHelper.Send(MailMessage message) > > at System.Web.Mail.SmtpMail.Send(MailMessage message) > > at ThoughtWorks.CruiseControl.Core.Publishers.EmailGateway.Send(String > from, String to, String subject, String messageText) > > at > ThoughtWorks.CruiseControl.Core.Publishers.EmailPublisher.SendMessage(String > from, String to, String subject, String message) ---> > System.Web.HttpException: The transport failed to connect to the server. > > ---> System.Reflection.TargetInvocationException: Exception has been > thrown by the target of an invocation. ---> > System.Runtime.InteropServices.COMException (0x80040213): The transport > failed to connect to the server. > > > > --- End of inner exception stack trace --- > > at System.RuntimeType.InvokeDispMethod(String name, BindingFlags > invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 > culture, String[] namedParameters) > > at System.RuntimeType.InvokeMember(String name, BindingFlags > bindingFlags, Binder binder, Object target, Object[] providedArgs, > ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) > > at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object > obj, String methodName, Object[] args) > > --- End of inner exception stack trace --- > > at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object > obj, String methodName, Object[] args) > > at System.Web.Mail.SmtpMail.CdoSysHelper.Send(MailMessage message) > > at System.Web.Mail.SmtpMail.Send(MailMessage message) > > at ThoughtWorks.CruiseControl.Core.Publishers.EmailGateway.Send(String > from, String to, String subject, String messageText) > > at > ThoughtWorks.CruiseControl.Core.Publishers.EmailPublisher.SendMessage(String > from, String to, String subject, String message) > > --- End of inner exception stack trace --- > > at > ThoughtWorks.CruiseControl.Core.Publishers.EmailPublisher.SendMessage(String > from, String to, String subject, String message) > > at ThoughtWorks.CruiseControl.Core.Publishers.EmailPublisher.Run(IIntegrationResult > result) > > at ThoughtWorks.CruiseControl.Core.Project.PublishResults(IIntegrationResult > result) > |