Sorry Jim, an example would have probably been helpful. :)

<?xml version="1.0" encoding="UTF-8"?>
<project name="Send SMTP Mail via Exchange" default="build" basedir=".">

                <target name="build" depends="sendmail" />

                <target name="sendmail">
                                <mail
                                                from="m...@mycompany.com"
                                                tolist="y...@yourcompany.com"
                                                subject="Exchange SMTP Email 
Test"
                                                message="This is a test SMTP 
email sent through Microsoft Exchange Server."
                                                
mailhost="MAILSERVER.MYCOMPANY.COM">
                                 </mail>
                </target>
</project>

I tested this with my local info a few minutes ago, worked perfectly from 
behind our firewall.

Hope this helps,
Mike

From: Macdiarmid, James D. [mailto:james.d.macdiar...@saic.com]
Sent: Friday, October 01, 2010 9:59 AM
To: NAnt-users@lists.sourceforge.net
Subject: [NAnt-users] NAnt and Microsoft Exchange Server


I'm trying to find an example of sending an email notification using Microsoft 
Exchange Server.   Would it be the same as sending through SMTP?

Thanks,

Jim
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to