Hi All, Might be some silly mistake but cannot catch it, Thanks for help
- Manish



I've placed following properties at the beginning of script     


        <property name="MailLogger.from"  value="[EMAIL PROTECTED]" />
        <property name="MailLogger.mailhost" value="IP here" /> 
        <property name="MailLogger.failure.notify" value="true"/>
        <property name="MailLogger.success.notify" value="true"/>
        <property name="MailLogger.failure.to" value="[EMAIL PROTECTED]"/>
        <property name="MailLogger.success.to" value="[EMAIL PROTECTED]"/>
        <property name="MailLogger.failure.subject" value="Build
successful"/>
        <property name="MailLogger.success.subject" value="Build
failed"/>

I'm using following command:
nant -buildfile:wmc.build -listener:NAnt.Core.MailLogger -l:wmc.log

I get following error:

MailLogger failed to send e-mail!
System.ArgumentNullException: Value cannot be null.
Parameter name: Missing required parameter MailLogger.from.
   at NAnt.Core.MailLogger.GetPropertyValue(PropertyDictionary
properties, Strin
g name, String defaultValue) in C:\Documents and Settings\drieseng\Local
Setting
s\Temp\tmp33C.tmp\src\NAnt.Core\Log.cs:line 906
   at NAnt.Core.MailLogger.BuildFinished(Object sender, BuildEventArgs
e) in C:\
Documents and Settings\drieseng\Local
Settings\Temp\tmp33C.tmp\src\NAnt.Core\Log
.cs:line 862


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to