Generating issues from emails - configuration options
Greetings,
I have setup the generation of issues from emails using the config below, but I have the following questions:
a) Is there any documentation on the configuration options?
b) Is there anyway the userid can be deduced from the sending email if the address of the email sender is associated with an existing user?
c) Can you populate custom fields from the email?
Any help would be greatly appreciated.
Cheers Noel
SubjectLikeRegExp=""
SubjectNOTLikeRegExp=""
ProjectID="3"
UserID="28"
ComponentID="21"
IssueType="4"
IssuePriority="13"
IssueSeverity="12"
Visiblity="1"
VisiblityMemberType="2"
RiskLevel="1"
DebugFile = "C:\Program Files\CounterSoft\Gemini Scheduler Service\GeminiPOP3log.txt"
DebugMode = "false"
NoelGourdie
· 1 |
|
Monday, May 25, 2009, 6:00:05 AM |
0
|
a) We are working a documnetation for the 3.5 release of Gemini, which is out very soon. Did you have any specific questions? b) This is possible by changing the source code. Commercial license holders can download the source code and do this quite easily. c) Same as above. You will have to change the code to do this. |
||||
|
0
|
Greetings, Thanks for the info. I assume that it is the following section of MailboxProcess.cs, that needs to be changed, // Add the issue to Gemini via web services but how do I go about assigning a userid to issue.ReportedBy based on the senders email? Cheers Noel |
||||
|
0
|
You will need to get all users (UserEN array) and check the email address against the collection. Use the service maanger's authrosiation services GetAllUsers() mehtod: UserEN[] users = serviceManager.AuthorisationServices.GetAllUsers(); |
||||
|
0
|
As this code has now moved in 3.5 from the scheduler source code to CounterSoft.Gemini.Mail I've had to purchase a source code licence. How do I create a new ServiceManager instance in order to use the AuthorisationServices.GetAllUsers() mehtod? I've added the references I think I need (ConterSoft.Gemini.Services, Microsoft.Web.Services3 and system.Web.Services) and I'm using: ServiceManager sm = new ServiceManager("http://gemini"); I'm getting an error in the application log (error listed below). Am I using the wrong URL? The http://gemini URL works fine if I use it in the sample app or test harness. Is there any documentation to accompany the source code? Error: Error starting Gemini Scheduler [3] Description: System.Web.Services - The request failed with HTTP status 404: Not Found. - at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at AuthorisationServices.GetAllUsers() at CounterSoft.Gemini.Mail.Mailbox.MailboxProcess.CheckEmails(MailboxEN mailbox) at CounterSoft.Gemini.Scheduler.MailboxProcessor.MailboxProcess.CheckEmails() at CounterSoft.Gemini.Scheduler.MailboxProcessor.MailboxProcess.ProcessOne() at CounterSoft.Gemini.Scheduler.SchedulerService.OnStart(String[] args) For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. |
||||
|
0
|
Ok partly answering my own question here but the URL should be http://gemini/webservices. I assume this is correct? I now get the following error: Event Type: Error For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. |
||||
|
0
|
You need to set the username and password for the web service manager: Call the SetAuthenticationTokenOnAllServices method on it. |
||||
|