-
Hi,
The NMail configuration class acts as a sort of quick and dirty inversion of control container. For it to setup the local store correctly you need a line in the config file that looks like this:
<NMail>
<NamedServices>
<NamedService Name="LocalStore" Type="NMail.LocalStore.LocalStore, NMail.LocalStore" />
<NamedService...
2009-08-10 10:41:24 UTC by tmyroadctfig
-
I have looked at the developers guide.
I created a unit test in my project to create a new user and local store and I have referenced all the Dll from the NMail solution.
Added the following code to open the config file
System.Configuration.Configuration config = NMail.Configuration.NMailConfigFile.OpenConfig(@"C:\Program Files\NMail\NMail Server 1.1\NMail.config");...
2009-08-06 14:26:23 UTC by alfrye
-
I almost forgot there is a developer's guide in the doc directory. It gives an overview of the system in case you haven't already seen it.
That's correct, you need a store and a user to be able to accept an email from another mail server.
2009-08-06 13:14:14 UTC by tmyroadctfig
-
Here is log entries from today.
2009-08-06 00:04:07,430 [SpoolServiceThread] DEBUG NMail.SpoolService.SpoolService - Woken but no work, sleeping.
2009-08-06 00:04:07,680 [SpoolServiceThread] DEBUG NMail.SpoolData.NHibernate.NHibernateSpoolData - Checking the next scheduled delivery attempt.
2009-08-06 00:14:07,722 [SpoolServiceThread] DEBUG NMail.SpoolService.SpoolService - Woken but no...
2009-08-06 13:14:11 UTC by alfrye
-
Hi,
Thanks Luke! I looking to see about integrating NMail into one on my projects as the SMTP Server. I downloaded the source last night to look at. I was going to start creating a unit test to send email and then read a email send back to the system.
I am assuming I must first create a user and a store in order to start using the system.
2009-08-06 13:06:22 UTC by alfrye
-
Can you post the log output from before the exception?
There should only be one transaction in progress so it shouldn't get getting nested ...
--Luke.
2009-08-06 13:05:26 UTC by tmyroadctfig
-
2009-08-05 23:54:07,388 [SpoolFilterThread] FATAL NMail.Server.Console.NMailConsoleServer - Unhandled exception in NMail.
NHibernate.TransactionException: Begin failed with SQL exception ---> System.InvalidOperationException: Nested transactions are not supported.
at MySql.Data.MySqlClient.MySqlConnection.BeginTransaction(IsolationLevel iso)
at...
2009-08-06 12:58:03 UTC by alfrye
-
Hi,
There isn't really any documentation available; but I'm happy to answer any questions that you have.
--Luke.
2009-08-06 12:56:55 UTC by tmyroadctfig
-
Is API documentation available for NMail. I am looking to use NMail in a project I am working on.
2009-08-06 11:17:25 UTC by alfrye