[JIRA] Closed: (CC-986) EmailPublisher- Sending failed on CC

"Dan Rollo (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.devel
Message-ID <1466604560.1292752789977.JavaMail.jira@chidmzhosting02.thoughtworks.com>
     [ http://jira.public.thoughtworks.org/browse/CC-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Rollo closed CC-986.
------------------------

    Resolution: Incomplete

> EmailPublisher- Sending failed on CC
> ------------------------------------
>
>                 Key: CC-986
>                 URL: http://jira.public.thoughtworks.org/browse/CC-986
>             Project: CruiseControl
>          Issue Type: Bug
>          Components: Core Application
>    Affects Versions: 2.8.3
>         Environment: Ubuntu 9.10
> CruiseControl Dashboard Version:	2.8.3(4371)
> JVM version:	14.1-b02
> OS Information:	Linux 2.6.31-20-generic
> Shared log folder location:	/opt/cruisecontrol-bin-2.8.3/logs
> Shared artifacts folder location:	/opt/cruisecontrol-bin-2.8.3/artifacts
>            Reporter: Djo
>
> Hi,
> I installed CruiseControl with phpundercontrol. I succeed to launch my test and to build my config. But i want to send a mail every day when the summation of the tests passed.
> However i have a bug with the send of mail. 
> I wrote this in my config.xml :
> <publishers>
> <email mailhost="smtp.myprovider.com"
>       returnaddress="[email protected]"
>       returnname="PhpUnderControl Results"
>       defaultsuffix="@domain.com"
>       spamwhilebroken="false"
>       buildresultsurl="http://dev.domain.com:8080/cruisecontrol">
>     <failure address="[email protected]" reportWhenFixed="true"/>
>     <failure address="[email protected]" reportWhenFixed="true"/>
>   </email>
> </publishers>
> And when it build i have the error :
> [cc]May-05 11:07:31 jectController- phpunderbox Controller: build progress event: publishing build results
> [cc]May-05 11:07:31 EmailPublisher- Invalid email: john
> [cc]May-05 11:07:32 EmailPublisher- Sending failed;
>   nested exception is: 
> 	javax.mail.MessagingException: 501 Syntax: HELO hostname
> javax.mail.SendFailedException: Sending failed;
>   nested exception is: 
> 	javax.mail.MessagingException: 501 Syntax: HELO hostname
> 	at javax.mail.Transport.send0(Transport.java:219)
> 	at javax.mail.Transport.send(Transport.java:81)
> 	at net.sourceforge.cruisecontrol.publishers.EmailPublisher.sendMail(EmailPublisher.java:418)
> 	at net.sourceforge.cruisecontrol.publishers.EmailPublisher.publish(EmailPublisher.java:339)
> 	at net.sourceforge.cruisecontrol.Project.publish(Project.java:742)
> 	at net.sourceforge.cruisecontrol.Project.build(Project.java:264)
> 	at net.sourceforge.cruisecontrol.Project.execute(Project.java:147)
> 	at net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:404)
> 	at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
> 	at java.lang.Thread.run(Thread.java:619)
> I don't understand why it take my name in the line and not the email in the config.xml : [cc]May-05 11:07:31 EmailPublisher- Invalid email: john 
> And after i think i have a problem with my mail configuration but i don't know where are the settings for this.
> Thanks in advance
> Djo

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.public.thoughtworks.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.