I think I found the issue, at least it seems to be the issue.  If the
build fails I attach the log file to the email so that we can see what
the errors in the build were.  I think the issue was that this log file
was over 8MB in size and therefore the mail would not let it go.  I
reduced the size of the log file and it worked.  So I changed the email
so that it would not attach the log file, only point the user to it so
that they can still view it.

I'll see how this works for now.

Tim.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: January 12, 2006 8:30 AM
To: [EMAIL PROTECTED]
Cc: nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] problems with mail task


I had a problem with outlook moving some of my emails to the junk folder
and not telling me. Same condition the log said it sent email but never
saw in inbox IT suggested looking in the junk folder and what do you
know there it was. Right clicking the email and selecting mark not as
junk fixed the problem. 


Paul H Cassidy
Front Porch
Automation Specialist
Build and Test Automation
[EMAIL PROTECTED]
209-288-5525

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gary
Feldman
Sent: Wednesday, January 11, 2006 8:07 AM
Cc: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] problems with mail task

Tim Mayert wrote:

> I have automated 3 of my NAnt builds to run at night to make sure they

> work fine and to work out all the bugs before we go to production on
> the nightly builds.  So far the builds seem to be working already and 
> the confirmation emails, that are produced at the end of each build, 
> do for the most part work.  But sometimes I do not get the 
> confirmation email in the morning and this is random as to what build 
> and does not matter if the build failed or completed.
>  
> All my builds are set up to perform the mail task at the end of the
> build with either a build failure and the resulting error log or a 
> build completion.  Lately I have been receiving 2 out of the 3 email.
> So I check the log of the one that did not email and at the end of the

> log it shows that it performs the email task and completes without
> errors, but I just do not get the email.  Now again this seems to 
> happen randomly so I do not have any good idea as to why the email 
> does not get sent.
>  
> Has anyone seen this before and if so is there a way to determine why
> the email did not get though?  This is the last issue I need to solve 
> before the nightly builds can become fully functional.

Is it at all possible that the problem is at the mail server end of
things?  If you have ready access to the mail server logs, that may
help.  Who knows, it could be as simple as a spam filter on the server.

Is it always the same one of the three that fails to send the email, or
does it change?  If it's the same one all the time, then the questions
that come to mind are:

    1.  Are all three builds running under the same user account?
    2.  Are they all running the same initialization (i.e. setting
properties and environment variables)?
    3.  Is it possible that the third build has the wrong mailhost, from
address, or to list, if the answer to either of the first two questions
is yes?

If these don't help, then I suggest trying verbose mode on the builds.  
I'm not sure what the mail task display in verbose mode, but you may be
able to compare the verbose output from both the good and bad emails to
see if there's a difference.

Gary




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems?  Stop!  Download the new AJAX search engine that
makes searching your log files as easy as surfing the  web.  DOWNLOAD
SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems?  Stop!  Download the new AJAX search engine that
makes searching your log files as easy as surfing the  web.  DOWNLOAD
SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to