Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Is MailPlugin functional in 2.2 Beta 1?

web-app

...or EMail notifications will work only with SchedulerService?

stepand76
· 504
stepand76
Replies (23)
helpful
0
not helpful

Yes, it is. You need to set the Email Alert Engine to Mail plugin in the Administration -> Notifications page.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I have set Email Alert Engine to Mail plugin but it does'n work for me in 2.2 Beta 1. I'm using MailPlugin options from 2.1 web.config file. I'm confused there are two places to configure SMPT:
1. MailPlugin section in web.config file
2. SMTP Configuration in Gemini administration page
I don't know which is the right for me. Anyway both of them doesn't work.

My web config:
...
    <sectionGroup name="GeminiPlugins">
      <section name="MailPlugin" type="System.Configuration.NameValueFileSectionHandler,System,Version=1.0.3300.0,Culture=neutral,PublicKeyToken=b77a5c561934e089"/>
    </sectionGroup>
...
  <GeminiPlugins>
    <MailPlugin>
      <!-- SMTPServer - specify IP number or machine name -->
      <add key="SMTPServer" value="mysmptserver"/>
      <!-- SMTP authentication values: OFF, BASIC, NTLM. -->
      <add key="SMTPAuthentication" value="BASIC"/>
      <add key="SMTPUserName" value="myusername"/>
      <add key="SMTPPassword" value="mypassword"/>
      <!-- Global email alert type on/off settings -->
      <add key="IssueCreateAlert" value="true"/>
      <add key="IssueUpdateAlert" value="true"/>
      <add key="IssueCommentAlert" value="true"/>
      <add key="IssueStatusChangeAlert" value="true"/>
      <add key="IssueResolutionChangeAlert" value="true"/>
      <add key="IssueDeleteAlert" value="true"/>
      <add key="IssueAssignedAlert" value="true"/>
      <add key="IssueClosedAlert" value="true"/>
      <add key="IssueResolvedAlert" value="true"/>
      <add key="IssueWatcherAlert" value="true"/>
      <!-- Options -->
      <add key="FromEmailAddress" value="me@mycompany.com"/>
      <add key="Debug" value="false"/>
      <add key="SendAlerts" value="true"/>
      <!-- Email encoding values: ASCII, DEFAULT, UNICODE, UTF7, UTF8. -->
      <add key="Encoding" value="UTF8"/>
      <!-- TemplateEngine values: NVELOCITY, STRINGTEMPLATE -->
      <add key="TemplateEngine" value="NVELOCITY"/>
      <!-- TemplatesPath: Optional setting that can contain absolute path to "templates\mail" folder
                    - leave empty to let Gemini work it out
                    - or, specify full path , e.g. "c:\inetpub\wwwroot\gemini\templates\mail\"
            -->
      <add key="TemplatesPath" value=""/>
    </MailPlugin>
  </GeminiPlugins>
...

My stacktrace:

SOURCE: CounterSoft.Gemini.Commons
TARGETSITE: Boolean SendEmail(CounterSoft.Gemini.Commons.GeminiConfigurationEN, CounterSoft.Gemini.Commons.EmailAlert, CounterSoft.Gemini.Commons.IssueWatcherEN)
STACKTRACE: at CounterSoft.Gemini.Commons.Emailer.SendEmail(GeminiConfigurationEN config, EmailAlert alertMessage, IssueWatcherEN recipient)
at CounterSoft.Gemini.Business.MailPlugin.SendMail(String subject, ArrayList emailList, String body, Boolean bHTML)


stepand76
· 504
stepand76
helpful
0
not helpful

All SMTP settings are set in Administration --> SMTP Configuration screen.

If you also have these settings in your web.config then that means you are using an old web.config (as these settings no longer appear in the web.config file).

Suggest you do a clean install.


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

[quote user="HarveyKandola"]

All SMTP settings are set in Administration --> SMTP Configuration screen.

If you also have these settings in your web.config then that means you are using an old web.config (as these settings no longer appear in the web.config file).

Suggest you do a clean install.

[/quote]

Thank you for explanation. So I have removed my SMTP settings from web.config file. Now using default 2.2 web.config file. I have set SMTP settings in Administration --> SMTP Configuration screen but it still doesn't send any EMails. In system log is the same stack trace as I have posted yesterday. Error message is "None of the specified authentication methods is supported by the server.". I'm using BASIC authentication method - same as in Gemini 2.1... What's wrong?


stepand76
· 504
stepand76
helpful
0
not helpful

Thanks for the feedback.

We will be shipping either another beta tomorrow or the final release (decision still pending!).  To cut a long story short, we have made improvements with SMTP authentication code and I think you could be one of those that will benefit from the improvements in 2.2 release.  We have verified SMTP email alerts setup with both Yahoo! and GoogleMail.  We have also added a "Test" button to the SMTP Configuration screen so you can setup SMTP and test from the same place -- handy.

I will post again to this thread sharing download location of next release ASAP.


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

[quote user="HarveyKandola"]Thanks for the feedback.

We will be shipping either another beta tomorrow or the final release (decision still pending!).  To cut a long story short, we have made improvements with SMTP authentication code and I think you could be one of those that will benefit from the improvements in 2.2 release.  We have verified SMTP email alerts setup with both Yahoo! and GoogleMail.  We have also added a "Test" button to the SMTP Configuration screen so you can setup SMTP and test from the same place -- handy.

I will post again to this thread sharing download location of next release ASAP.
[/quote]

Great news! Thanks! I will look forward to next release.


stepand76
· 504
stepand76
helpful
0
not helpful

[quote user="HarveyKandola"]Thanks for the feedback.

We will be shipping either another beta tomorrow or the final release (decision still pending!).  To cut a long story short, we have made improvements with SMTP authentication code and I think you could be one of those that will benefit from the improvements in 2.2 release.  We have verified SMTP email alerts setup with both Yahoo! and GoogleMail.  We have also added a "Test" button to the SMTP Configuration screen so you can setup SMTP and test from the same place -- handy.

I will post again to this thread sharing download location of next release ASAP.
[/quote]

Is there something new?


stepand76
· 504
stepand76
helpful
0
not helpful

Shortly!

Severe flooding in the UK has affected us all.

http://community.countersoft.com/forums/thread/5024.aspx


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

Understand. I'm very sorry for bother you. Good luck!


stepand76
· 504
stepand76
helpful
0
not helpful

2.2 just released so go get it and test out your SMTP config!


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

[quote user="HarveyKandola"]2.2 just released so go get it and test out your SMTP config![/quote]

It is working in 2.2 release. But I noticed these issues:

1. Sending of EMails is working although SMTP Authentication Mode is set to None. Our SMTP server require authentication.
2. There are problems with encoding of subject of EMails. Body is OK subject is corrupted.


stepand76
· 504
stepand76
helpful
0
not helpful

Hi,

Try changing the encoding type from SMTP Configuration screen.


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

[quote user="HarveyKandola"]

Hi,

Try changing the encoding type from SMTP Configuration screen.

[/quote]

It is the same for all encoding types. SMTP authentication works for me only when I set it to None.


stepand76
· 504
stepand76
helpful
0
not helpful

Hi,

1. Would be delighted if you could raise bug and possibly ad screenshot @ http://gemini.countersoft.com and we will address ASAP.

2. Using NONE is fine as long as you supply username and password.  Some SMTP servers do things differently!

Hope this helps.

 


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

[quote user="HarveyKandola"]

Hi,

1. Would be delighted if you could raise bug and possibly ad screenshot @ http://gemini.countersoft.com and we will address ASAP.

2. Using NONE is fine as long as you supply username and password.  Some SMTP servers do things differently!

Hope this helps.

 

[/quote]

I have reported it as a bug to your Gemini.


stepand76
· 504
stepand76
helpful
0
not helpful

Any news regarding this?


stepand76
· 504
stepand76
helpful
0
not helpful

Hi,

If you are referring to the subject line encoding problem, we cannot seem to track it down.

However, assuming you are a Commercial License holder, you can get the complete source code for the Scheduler from the client portal and attempt to find the problem that occurs for you in your environment.

Hope this helps.


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

Hi, thank you for answer. We haven't yet a Commercial License (I hope the bussines department in our company is working on it :-). You wrote I can get the source code for the Scheduler from the client portal and find the problem. It is funny! Ok, but I'm not using the Scheduler Service, I'm using the Mail Plugin.  I have problem with email encoding in 2.2 release and in previous release it was Ok. It is described here in details: http://gemini.countersoft.com/issue/ViewIssue.aspx?ID=1343&PROJID=2
Will Mail Plugin work correctly in future?

[quote user="HarveyKandola"]Hi,

If you are referring to the subject line encoding problem, we cannot seem to track it down.

However, assuming you are a Commercial License holder, you can get the complete source code for the Scheduler from the client portal and attempt to find the problem that occurs for you in your environment.

Hope this helps.
[/quote]


stepand76
· 504
stepand76
helpful
0
not helpful

[quote user="HarveyKandola"]Hi,
If you are referring to the subject line encoding problem, we cannot seem to track it down.
[/quote]

I think the problem is the emails produced by previous releases are UTF-8 encoded, but in 2.2 release aren't. It doesn't matter which encoding type is set in SMTP Configuration screen in 2.2 - always non UTF-8 emails produced. Check the attachment in this issue: http://gemini.countersoft.com/issue/ViewIssue.aspx?ID=1343&PROJID=2


stepand76
· 504
stepand76
helpful
0
not helpful

Hi,

I will try to get back to you TODAY with a resolution!

Please bear with me.


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

In a test environment, place the attached DLL in two locations:

1. Gemini Web App: "bin" folder.
2. Gemini Scheduler: application folder.

Does this resolve your encoding problem?


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

[quote user="HarveyKandola"]
Does this resolve your encoding problem?
[/quote]

Dear Harvey,

Yes, Gemini emails are UTF-8 encoded and it looks very good. Thank you!
May I use this DLL in production?

For your information: since today we have Commercial license of Gemini.


stepand76
· 504
stepand76
helpful
0
not helpful

Sure, DLL is production ready.

Thank you for assisting us resolve this problem. 

 


Harvey Kandola
· 212
Harvey Kandola