What is SMTP server for website?

What is the difference between SMTP and web server?

I was a web developer before I joined this company.

But today, I don't know what is the difference between the two.

SMTP stands for Simple Mail Transfer Protocol. It allows you to send e-mail through your web server (eg a PHP script). This is mainly used when sending e-mails from a web application. In other words, your script will be used to send an e-mail on your behalf. If you want to use your own mail server to send out e-mails, you need to setup a mail server on your own and configure it with SMTP.

Webserver on the other hand refers to the web server that is running on your webserver. A webserver doesn't have to be a PHP script though. Apache for example also comes with a built-in web server which can be used to deliver static files and e-mail.

When should I use SMTP?

The main use case for SMTP, is a 'simple' mail sending system, designed to send email messages.

If you need anything more complex than this, please take a look at some of the other services on the cloud solutions page.

What if I don't have a domain name? This is a common question with which we often encounter. There are a few options. You could buy a domain name from one of the well-known, trusted domain registrars like godaddy.com, domain.com or 123-reg.uk and set up your own website on their servers (known as 'virtual hosting'). Alternatively, you could sign up for a managed service such as our DNS or SMTP services. This will allow you to have a free subdomain, for example: www.yourdomainname.

What is the advantage of having a web hosting account? There are two main benefits of having your own hosting account. Firstly, it gives you full control over your server (and no one else). Secondly, we provide a free web hosting service which includes one free domain name.

Can I run my own mail server? Sure you can. It's really easy and only requires basic Linux knowledge. It's pretty much the same as running your own FTP site, but for email! All you need to do is install the following packages:
Mutt. Sendmail. Smtpd. Postfix. Pop3d. For a more in depth guide to setting up an email server, please see the guide. Should I use SMTP or POP3? The main benefit of using SMTP is that you don't need to wait for the server to answer (since SMTP is instant), however, if you require more than just a simple mail sending solution, then a POP3 (Post Office Protocol version 3) server may be a more suitable solution. I'm new to this and I'm confused by all these terms and acronyms. What should I use? This is a common question we receive. There are four different types of email service providers: web hosts, webmail, mail servers and mail clients.

Related Answers

How does the Simple Mail Transfer Protocol work?

It is a request-reply protocol used for electro...

What is Simple Mail Transfer Protocol and how does it work?

Simple Mail Transfer Protocol (SMTP) is a well-...

What Does SMTP mean?

I have to send email to a mobile user from my application. Is...