How to get HmailServer API for C#
How to get HmailServer API for C#
Am New to hmailserver . i didn't download and install the Hmailserver Software in my PC because of my storage issue. So what my question is how to use/get/work with Hmailserver API for my c# application without install that. is there any option available?
Re: How to get HmailServer API for C#
no, not really
But why would you want to?
The API will only work with a local hMailserver
But why would you want to?
The API will only work with a local hMailserver
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: How to get HmailServer API for C#
Ok sir. Now i managed my storage and installed Hmailserver. how to connect hmailserver with my c# application? I have added interop.hmailserver , AutoresponderPlugin ,HmailServerDomainPlugin and ChangePasswordPlugin references into my project.
My basic c# code which helps authenticate the hMailServer user and returns an instance of the application
hMailServer.ApplicationClass application = new hMailServer.ApplicationClass();
hMailServer.Application hMailApp = Authenticate(userName, password);
hMailServer.Domain domain = hMailApp.Domains.Add();
domain.Name = domainName;
domain.Save();
what is my username and Password here?
Re: How to get HmailServer API for C#
Your admin username and password you login to hMailserver with.
HMS 5.6.8 B2534.28 on Windows Server 2019 Core VM.
HMS 5.6.9 B2641.67 on Windows Server 2016 Core VM.
HMS 5.6.9 B2641.67 on Windows Server 2016 Core VM.
Re: How to get HmailServer API for C#
This should help to get you starting with c# and hMail
1) Download and unzip the Archive
2) Open and run it in Visual Studio
viewtopic.php?f=21&t=31507
1) Download and unzip the Archive
2) Open and run it in Visual Studio
viewtopic.php?f=21&t=31507