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

I definitely set the mail server.  The nant target is shown below.  The reason I think it is due to the proxy server is that’s the only thing that’s changed since the last time it worked.

 

<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>

 

 

P

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 16, 2006 12:14 PM
To: Paul Rempel; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] mail task with a proxy server

 

This is probably not an NANT issue as there are a whole reange of errors associated with the message "Could not access 'CDO Message' object"

 

I had similar problem recently at a web site belonging to a client. (I was directly calling the .Net "system.web.mail" objects so this might not apply directly.) In my case, I had not set the target maI server. Once I changed it to "localhost" it began working.

 

I suggest doing an internet search on the error message. I found the following site http://www.systemwebmail.com/faq/4.2.3.aspx useful in tracking down this problem.

 

-Tony


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Rempel
Sent: Monday, May 15, 2006 8: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

 

_______________________________

 

This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential.

 

If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.

 

Reply via email to