Last post Dec 07, 2017 03:02 PM by enendaveyboy
Dec 05, 2017 04:56 PM|EnenDaveyBoy|LINK
I sort of know this is going to be server specific and I have no experience with this.
I was thinking about using hMailServer,and I want to build a web interface to manage email, including creating and deleting email addresses plus all aspects of webmail, but I can't find anything in the docs which suppost this.
Is this possible not just using hMailServer but any mail servers?
Also any links for tutorials or examples would be appriated.
Dec 06, 2017 01:18 AM|bruce (sqlwork.com)|LINK
Dec 06, 2017 12:12 PM|EnenDaveyBoy|LINK
Thanks for the reply, I have found the api which shows VBA code for the processes needed however i have no idea how to apply them using asp.net mvc, i know it must be possible because they have a web based admin panel which is in php, however i want to integrate.
searching search engines is hard work due to the keywords, i can find a client library that will intergrate into an existing project, there are loads of things like gridhost however I don't want it to be a stand alone part of the cms.
I don't have a problem with send emails through asp.net, if the server stores them in a database (which i think HMailServerdoes) i can manage them, so the problem i have is managing the web servers function like adding emails, but i can't findany examples
using HMailServer or anything else that i can use to get started.
Dec 06, 2017 04:14 PM|bruce (sqlwork.com)|LINK
to talk to the email server you use a client library. google for your choice (you want imap and smtp support):
.net email client library
if you are sending only, and not supporting bounced and replay emails, you only need smtp support. in this case just use the SmtpClient class thats builtin to asp.net.
the database used by HMailServer is for configuration, not emails. emails are stored as files like most email systems (exchange is the exception where it created its own storage engine).
not sure what you mean about email address. if you mean email accounts on the mail server, then you needs the docs for the mail service engine you pick. each will have their own api (original unix mail, its just flat files).
the standard setup for email servers is one host name. say "mycoolemailservice.com", and your clients emails are "email@example.com". most clients want their own domain name. while you can send
with a custom domain, it will get blacklisted as spam. that is why you need for each client with a custom domain name, to create CName dns record that points to your mail server, and add a matching MDX record to the DNS server. these DNS changes must
be pushed to the internet DNS servers.
Dec 07, 2017 12:56 AM|EnenDaveyBoy|LINK
hi thanks for the reply
yes I want people to be able to buy a domain name on my site (I haven't figured this out yet), which will then set in motion email configuration on the server, and a set of standard email address for the company, then allow the user to add email address
when needed, and send abd receive emails after.
Sending emails is easy, there is loads of documentation online about it, the ui is just html, the rest is hard work finding where to start as i don't have the experience and have no idea where to start.
In regards to the email, yes its the account i want to setup (and manage), i see the email client libraies manage parts but not the main account setup, so whats the difference between a mail server and a mail engine? and HMailServer as an example has API
docs, but they don't read like a web api, they seem more like your examples of unix mail, and how do you run flat files from a website?
Dec 07, 2017 02:02 AM|bruce (sqlwork.com)|LINK
Dec 07, 2017 03:02 PM|EnenDaveyBoy|LINK
Thanks for the info,
Although I am planning on doing a lot of email research I am also planning on using managed hosting in some respect to maintain it.
Thanks for the reseller info, will need to contact a few mores copies (the ones I have just copied don't have reseller programs)
Will use a email library for all the email management (mailkit seems to do the job, will have to read a bit more to make sure)
The only thing I am still failing to understand is how I use a mail servers API from a web application for admin tasks like email account creation, i understand they will all have a different API, but if an api is a command line, or executable file, eg this
is the API docs for creating an email account using hMailServer :
I just don't understand How I convert that into my web appication.