Another email-not-being-sent post

  •  06-01-2007, 5:43 PM

    Another email-not-being-sent post

    I have read through other posts about email not being sent and none of them seem to apply to my situation.  Here is what I have:

    Server Hardware: 2 Intel Xeon 2.2 Ghz CPUs
    OS: Microsoft Windows 2000 SP4
    OnTime: 7.0.2.7191 (machine had OnTime 2006, which was uninstalled before 2007 was installed).
    Problem: Since the upgrade to 2007, no email notifications have been sent.

    I have checked: 

    • All three OnTime services are running
    • Suppress All Notifications is NOT set

    I cannot check the database to see which DLL is being referenced because the machine only has SQL Server 2005 Express Edition which has no Management Studio installed.

    When I run the "Test" for email I get this:

    Trying to load assembly Axosoft.Common.SmtpClient.dll...
    Loaded assembly Axosoft.Common.SmtpClient.dll successfully...
    Setting mail assembly properties...
    Trying to create a new mail message...
    Created mail message successfully...
    Setting message properties...
    Trying to send email...
    Error trying to send email; please review your exception log.

    Looking at the Exception Viewer, I see the following two exceptions recorded at the time I run the test:

    Exception Details
    Exception ID:  421
    Date:  6/1/2007 5:36 PM
    Source:  System
    Target Site:  Void Send(System.Net.Mail.MailMessage)
    User:  Administrator
    Message:  Failure sending mail.
    Stack Trace:     at System.Net.Mail.SmtpClient.Send(MailMessage message)
       at Axosoft.Common.SmtpClient.SendEmail(IMailMessage message)
    Additional Info:  ExceptionManager.MachineName -- Server007|ExceptionManager.TimeStamp -- 6/1/2007 5:36:42 PM|ExceptionManager.FullName -- Axosoft.Common.ExceptionManagement, Version=7.0.2.7191, Culture=neutral, PublicKeyToken=21e2e88ee444275a|ExceptionManager.AppDomainName -- OnTime.exe|ExceptionManager.ThreadIdentity -- 1|ExceptionManager.WindowsIdentity -- DOMAIN\Administrator|
    Exception Type:  SmtpException

    ...and...

    Exception Details
    Exception ID:  420
    Date:  6/1/2007 5:36 PM
    Source:  System
    Target Site:  System.Net.Mail.LineInfo Send(System.Net.Mail.SmtpConnection, System.String)
    User:  Administrator
    Message:  Object reference not set to an instance of an object.
    Stack Trace:     at System.Net.Mail.AuthCommand.Send(SmtpConnection conn, String message)
       at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port)
       at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port)
       at System.Net.Mail.SmtpClient.GetConnection()
       at System.Net.Mail.SmtpClient.Send(MailMessage message)
    Additional Info:  ExceptionManager.MachineName -- Server007|ExceptionManager.TimeStamp -- 6/1/2007 5:36:42 PM|ExceptionManager.FullName -- Axosoft.Common.ExceptionManagement, Version=7.0.2.7191, Culture=neutral, PublicKeyToken=21e2e88ee444275a|ExceptionManager.AppDomainName -- OnTime.exe|ExceptionManager.ThreadIdentity -- 1|ExceptionManager.WindowsIdentity -- DOMAIN\Administrator|
    Exception Type:  NullReferenceException

    (Note: any personally identifiable information has been changed to protect the innocent).

    Anyone have a clue what is going on here?

    Thanks,
    Dave Parker
    IT SystemWorks

View Complete Thread

© 2002 - 2007, Axosoft, LLC. All Rights Reserved. | Privacy
Bug Tracking | Defect Tracking Videos | Help Desk Software