Can't get email notifications working at all

Topics: General
Apr 22, 2013 at 1:16 PM
Can't get email notifications working at all - I have configured the SMTP Settings and the test email does work - but no notifications are sent when creating or adding to posts

Is there anything else I am missing
Apr 22, 2013 at 1:50 PM
It might be that notifications are not sent by your own actions in the system.
Apr 22, 2013 at 2:40 PM
I am also trying to send notifications to other people on the project (e.g. person assigned) with notification ticked - I have just received the below error this time though:

2013-04-22 14:38:38,020 [9] ERROR BugNET.BLL.IssueNotificationManager [(null)] - Email Notification Error


System.InvalidOperationException: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\3e4ag21p.0.cs' could not be found error CS2008: No inputs specified

at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at BugNET.Common.Extensions.ToXml[T](T obj)
at BugNET.BLL.Notifications.NotificationManager.GenerateNotificationContent(String template, Dictionary2 data)
at BugNET.BLL.Notifications.CultureContent.TransformContent(Dictionary
2 data)
at BugNET.BLL.IssueNotificationManager.SendIssueNotifications(Int32 issueId, IEnumerable`1 issueChanges)
Apr 22, 2013 at 3:12 PM
New Errors

2013-04-22 15:12:03,113 [9] ERROR BugNET.Global [(null)] - Application Error


System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidOperationException: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\zqaokwf0.0.cs' could not be found error CS2008: No inputs specified

at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at BugNET.Common.Extensions.ToXml[T](T obj)
at BugNET.BLL.Notifications.NotificationManager.GenerateNotificationContent(String template, Dictionary2 data)
at BugNET.BLL.Notifications.CultureContent.TransformContent(Dictionary
2 data)
at BugNET.BLL.IssueNotificationManager.SendNewIssueCommentNotification(Int32 issueId, IssueComment newComment)
at BugNET.BLL.IssueCommentManager.SaveOrUpdate(IssueComment entity)
at BugNET.Issues.UserControls.Comments.CmdAddCommentClick(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.HttpContext.InvokeCancellableCallback(WaitCallback callback, Object state)
at System.Web.UI.Page.AsyncPageBeginProcessRequest(HttpContext context, AsyncCallback callback, Object extraData)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Apr 22, 2013 at 3:14 PM
This looks highly related to your webserver and permissions on the temporary files directory.

Do you have other .NET web applications running on this server?
Apr 22, 2013 at 3:22 PM
Perfect - many thanks for your help - should have picked up the temp folder issue myself really
Jul 9, 2013 at 3:40 AM
I am trying to configure receiving Email Notifications with POP3 on BugNet, but getting the following Error. Any Input would be appreciated?

2013-07-09 14:23:04,088 [10] ERROR BugNET.POP3Reader.MailboxReader [(null)] - Mailbox Reader Error


System.ApplicationException: An error has occured in processing the mailbox reader. ---> Lesnikowski.Client.ServerException: Command is not valid in this state.
at Lesnikowski.Client.Pop3.SendCommand(String command, Boolean throwException)
at Lesnikowski.Client.Pop3.SendCommand(String command)
at Lesnikowski.Client.Pop3.Login()
at BugNET.POP3Reader.MailboxReader.ReadMail() in D:\Projects\BugNet-Source\src\BugNET_WAP\Old_App_Code\Pop3Reader\MailboxReader.cs:line 226
--- End of inner exception stack trace ---
at BugNET.POP3Reader.MailboxReader.ReadMail() in D:\Projects\BugNet-Source\src\BugNET_WAP\Old_App_Code\Pop3Reader\MailboxReader.cs:line 385
Jul 9, 2013 at 2:41 PM
@mosesnovabugnet

What mail server are you trying to connect to?

The error seems to be happening on the log in so I would guess it's not connecting properly to the server. My first hunch would to check if the server only allows SSL connections and to go from there.
Jul 9, 2013 at 9:43 PM
The IT Team restricts access to the POP3 server.
Sep 7, 2013 at 7:46 AM
Hello,

I have a different problem. i just configured the latest solution BugNET 1.5.258.0
and the problem is

if the mail which is sending noreply@site.com, users will receive a letter in which mail admin@site.com, mike@site.com, etc. But users who have mail ****************@gmail.com or ****************@live.com not receive the emails! give me some suggestion please