Title: task - Fails on VC++ project (vcproj)

To clarify, I’m just using the <mail> task.  How do you make the <mail> task work with a proxy server?

 

<target name="Mail.Success">

    <mail from="${Email.From}" tolist="${Email.To}" cclist="${Email.CC}"

              subject="Deploy succeeded at ${Deploy.DateTime}"

              message="Deoplyed at ${Deploy.DateTime}. The log file is attached to this email."

              mailhost="${Email.SmtpServer}">

 

              <attachments>

                        <include name="${Deploy.LogFile}" />

              </attachments>

    </mail>

</target>

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Rempel
Sent: Monday, May 15, 2006 6:36 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] mail task with a proxy server

 

Hi,

 

I’ve been using a nant script that mails out success and failure reports for some time now.  We recently started using a proxy server in our office and that stopped the mailing part of the nant script from working.  This is the error:

 

Error sending mail:

     [mail] Error enountered while sending mail message.

     [mail] Make sure that mailhost=mail.servername.com is valid

 

    Could not access 'CDO.Message' object.

        Exception has been thrown by the target of an invocation.

            The transport failed to connect to the server.

 

 

 

 

Does anyone know how to make this work???

 

Thanks,

 

Paul

Reply via email to