
As far as Shared hosting is concerned, it isn’t possible to install an SMTP server given that no root access is granted. If you have the available hardware and are willing to do this, this extensive guide should help. Now if you have private hosting (VPS), you sure can setup a mail server, but mind you, this is not as easy as you think, it involves a lot of configuration and resources to be used on your VPS, not to forget the maintenance needed to keep spam at bay.

So what is it that’s needed to send/receive emails from your own domain ? The answer is an SMTP server which is nothing but a server that sends/receives or forwards emails as necessary. Lets see how to send email programmatically from your domain with ease and moreover for free! Works with both – shared hosting as well as private hosting (VPS). For a website, sending email is usually one of the primary things needed yet many-a-times is not a trivial task.
