Email Alert Issue
We downloaded Gemini 2.0.2, and tried to set up the email alerts. We have not been able to get the email alerts since 1.9.1 version of Gemini.
1. Use the MailPlugins.cs as suggested in one of the previous emails sent to you, but it never seemed to even get to the code.
2. Created a new plugin as described in section 11.5 of the Gemini.pdf document. a. Below is the class used for creating the new plugin (the SendMail() method is a function that we are using in another project to send email) b. The dll was placed in the bin\plugins as suggested.
using System;
using CounterSoft.GeminiLib;
using System.Web.Mail;
namespace NavMailPlugin {
public class Mail : AbstractIssueListener {
public Mail() {
// // TODO: Add constructor logic here //
}
public override void IssueCreated(IssueEventArgs args)
{
try
{ SendMail(); }
catch
{ GeminiHelper.LogMessage("this class was not created"); } }
}
}
The settings for email alerts are true in the web.config as well as the application under the Email Alerts link.
Here is an entry of the error logs that were created during this process.
Cannot create an abstract class. at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at CounterSoft.GeminiBiz.GeminiEventDispatcher.LoadPlugins(String path)
3. We are able to send email using the email link from the site, as well as when watching an issue. Does anyone have any other suggestions for troubleshooting the email alerts.
Thanks,
Ramona
ramona
· 1 |
|
Wednesday, February 8, 2006, 1:06:59 AM |