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.




mail problems

web-app

I got Gemini installed on a Windows 2003 server in our test environment and it is working fine.
However , when I install it on our production machine, the CPU utilization goes to 100% whenever I use the email features like Forgot password, Sendmail.aspx.
I check my SMTP configuration and everything looks fine. I even created a test page within the Gemini application to make sure my SMTP is working fine and it is indeed working fine with the following code.

 public static void SendMail(string fromEmail, string toEmail, string subject, string body)
    {
        SmtpMail.SmtpServer = "127.0.0.1";
        MailMessage message = new MailMessage();
        message.From = fromEmail;
        message.To = toEmail;
        message.Subject = subject;
        message.Body = body;
        SmtpMail.Send(message);

    }
This is how my smtp config looks like
<add key="SMTPServer" value="127.0.0.1" />
            <add key="SMTPAuthentication" value="OFF" />
            <add key="SMTPUserName" value="" />
            <add key="SMTPPassword" value="" />

Elsewhere in these forums I see that some people were having problems with cdosys.dll but its already there on my machine in the C:\windows\system32 directory.

There are no warnings or errors in the Event Viewer and none in the Gemini System error either.

Any suggestions greatly appreciated. We need the app running in no time !!
Thanks in advance

NeedHelp
· 1
NeedHelp
Replies (5)
helpful
0
not helpful

I am attaching the complete mailconfig here.
<MailPlugin>
            <!-- SMTPServer - specify IP number or machine name -->
            <add key="SMTPServer" value="127.0.0.1" />
            <!-- SMTP authentication values: OFF, BASIC, NTLM. -->
            <add key="SMTPAuthentication" value="OFF" />
            <add key="SMTPUserName" value="" />
            <add key="SMTPPassword" value="" />
            <!-- 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="xxx@xxx.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>


NeedHelp
· 1
NeedHelp
helpful
0
not helpful

Are there any errors in the error log?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

No.
The error log is empty.


NeedHelp
· 1
NeedHelp
helpful
0
not helpful

Actually there are 3 logs entries.

Thread was being aborted. at CounterSoft.GeminiBiz.6a47503c5c8a8891.f7a04e3d8efc449b(String 07c7f4fa3f40fcb2, String 4b082198dfa33803, String 0de68723b032b863, MailFormat 6e9546172e8074c5) at CounterSoft.GeminiBiz.33c10d769b8bcf93.ResetPassword(String userName) 11/10/2006 03:43:24 Thread was being aborted. at System.Threading.Monitor.Enter(Object obj) at System.Web.Mail.SmtpMail.Send(MailMessage message) at CounterSoft.GeminiBiz.6a47503c5c8a8891.f7a04e3d8efc449b(String 07c7f4fa3f40fcb2, String 4b082198dfa33803, String 0de68723b032b863, MailFormat 6e9546172e8074c5) 11/10/2006 03:43:24 Thread was being aborted. at System.Threading.Monitor.Enter(Object obj) at System.Web.Mail.SmtpMail.Send(MailMessage message) at CounterSoft.GeminiBiz.6a47503c5c8a8891.f7a04e3d8efc449b(String 07c7f4fa3f40fcb2, String 4b082198dfa33803, String 0de68723b032b863, MailFormat 6e9546172e8074c5)


NeedHelp
· 1
NeedHelp
helpful
0
not helpful

Seems very starmge!

Can you please try and run our SMTP Test, which is in the Utils folder?


Saar Cohen
· 5000
Saar Cohen