From: Ankita K. <ank...@pe...> - 2004-09-15 08:04:19
|
I am using nant to do a daily build My smtp server has authentication enabled So I used "user" and "password" attributes in the mail task like in Ant:- <target name="buildsuccess"> <mail failonerror="false" mailhost="smtp.persistent.co.in" subject="BUILD SUCCESSFUL :-) " user="..." password="..." tolist="ank...@pe..." from="pin...@pe..." > <attachments> <include name="F:\myfolder\MSFT\build.log"/> </attachments> <message> ************************************************** Completed Pines Build Build Status : BUILD SUCCESSFUL Attached files : build.log ************************************************** </message> </mail> </target> Output:- buildsuccess: [mail] Sending mail to ank...@pe... The message could not be sent to the SMTP server. The transport error code was 0 x80040217. The server response was not available Are the "user " and "password" attributes ignored here in Nant? What cud be the possible soln ? |