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.




SMTP Test works; emails alert don't

web-app

I've just installed Gemini and am trying to get email alerts to work.  On the Administration ->Global Settings -> SMTP Configuration page, I have filled out all the necessary fields (including setting the Interval to 1 minute) and clicked Save. 

I click the Test button and immediately receive the corresponding Test email message in my email client.

However, I have yet to receive any other type of email alert.  Again, in the Adminstration -> Global Settings  section, I have updated and saved the values on the Notifications page ("Yes" to all the options, "SchedulerService" for the engine to use, and an email address that is "known" to our Exchange server.)

In one of the projects I have created, I have clicked the "Email Alerts" link, and checked all the boxes available!  Then I have gone and created several new issues, updated a few, assigned one to myself... but absolutely no email.

Any ideas on "next steps" for troubleshooting this?

Thanks in advance.

 

MNoreen
· 1
MNoreen
Replies (12)
helpful
0
not helpful

Hi,

Are you using the mail plugin or the scheduler service?

Is the "SMTP Service Verbose Logging" set to "yes"? I have problems with this setting earlier. The service writes the log file to c:\ and if the aspnet account hasnt got NTFS rights, it  fails.

Regards,

Dániel.


Dániel Baranyi
· 1
Dániel Baranyi
helpful
0
not helpful

Thanks for the quickly reply.

I have "SchedulerService" selected as the Email Alert Engine on the Notifications page.  And "Verbose Logging" set to "No" on the SMTP Configuration page.

What I don't understand is that the "Test" button on the SMTP Configuration page works, just no email alerts come through, so I'm not really sure what "Test" is testing <g>.

Just to try it, I did change the engine to MailPlugin and then the email alerts started working fine.

Is there any advantage to using the SchedulerService over the MailPlugin anyway?

 


MNoreen
· 1
MNoreen
helpful
0
not helpful

The test button tests the SMTP settings only.

The Scheduler service is different from the mail plugin becuase it batches the emails in time intervals.

so if you update an issue a few times (set status, then resolution etc...), you will get a few emails with the plugin but only one with the service.

Did you check the windows event log where the scheduler is installed?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I am just now revisiting this.  As mentioned, if I use the MailPlugin... I get all the emails (two of them at a time!).  But have not been able to get the scheduleservice to work.  Is there any info on what Windows permissions that is needed by the user account that it is running under...?

I noticed that after initial setup, by default, the service is run under the Local System account.  Do I need to create a higher privileged account?  If so, explicitly what permissions would it need to run?

I would like to get the SchedulerService to work in hopes that would reduce the number of emails... 


MNoreen
· 1
MNoreen
helpful
0
not helpful

FWIW... I changed it so that the CounterSoft Gemini Scheduler Service is now running under an administrative account... just to see if I could get past any permissions issues; then restarted the service.  I checked the event log and, sure enough, there's an error showing:

 

Error testing connectivity/authentication to client http://localhost/gemini/webservices.

 

I found the "CounterSoft.Gemini.Scheduler.exe.config" file and changed the WebServicesURL attribute in the Client element... and once again restarted the service and once again got the  "Error testing connectivity..." error but now using my new URL.

 

Any ideas on next steps?


MNoreen
· 1
MNoreen
helpful
0
not helpful

Please make sure that you have Microsoft WSE3.0 installed on the web server.

Also, check Gemini error log.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Yes, I have WSE3 installed.

 

Where is the Gemini error log?  Or least, what is the name of it so I can search for it...?


MNoreen
· 1
MNoreen
helpful
0
not helpful

You can view Gemini's error log by logging in as admin to Gemini and click on Administration -> System log. The SQL table is errorlog.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

There is nothing in the Gemini error log with a date anywhere near my attempts to get an email generated.

For example, just now, I verified that I have the ScheduleService selected as the Email Alert Engine on the Notifications page.  I also verified that the service was running in the Services control panel on the web server.  Then I went create a new issue.  I got no email notification, there were no new records shown in the Gemini error log, no new records in the Windows event log on the web server.

I restarted the service on the web server and that's when I get the error in the Windows event log that says:

"Error testing connectivity/authentication to client  .. "


MNoreen
· 1
MNoreen
helpful
0
not helpful

Is the user specified in the config file of the scheduler service a valid Gemini admin user with the correct password?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I did not change anything except the URL and only that after I noticed the error message in the Windows Event log and did some searching.  At any rate,  the config file still says "admin" and "admin" which are what the defaults are at installation.  I'll try changing that to my own account info since I know my account is set up in Gemini as a gemini-adminstrator.

 

I feel like I've missed something with all of this ... is there more info than is available in the "Installing Gemini" pdf or something?


MNoreen
· 1
MNoreen
helpful
0
not helpful

Try changing the Gemini Scheduler windows service account to a domain/network account (as opposed to local system).


Harvey Kandola
· 212
Harvey Kandola