What should I check if I can send emails from my web server?

I would like to know how I can send emails from my web application that I have hosted on a shared server. First of all, I would like to know if I can, so my question is: what should I check?

I heard that I must have a mail server on my hosting, so I tried it telnet smtp.tirengarfio.com 465

, but I get:

telnet: could not resolve smtp.tirengarfio.com/465: Name or service not known

tirengarfio.com

is the domain where the webapp is hosted.

What can I do?

+2


a source to share


1 answer


You need to review the hosting specifications or consult with hosting support if an SMTP server is included in the hosting package.

If any message is provided, you will find out the correct hostname and port. If none are provided, you will need to grab another one or install a custom one. You can use your ISP's mail server or public mailboxes like Yahoo / Gmail / etc, but you're only limited to sending emails from your own account (this way your account appears in the header from

). The hostname / port is specified in the ISP documentation / FAQ / mailprovider. The username / password is of course the same as your own account name / password.



If you prefer to have complete control over your mail server, you need to install your own mail server, such as Apache James . This only works if you have a dedicated hosting / server.

+1


a source







All Articles