SMTP
1. My web site incorporates some automated email scripts to communicate with users of my web site. Does my web site have access to an SMTP server that will allow relaying?
If you are using smtp server as your web server like ‘localhost’ then didn’t require any authentication OR user name + password to relay mails and if you use to relay mails from the mail server then you have to require authentication to relay mails due to mail server performance and we can easily find out who are sending spam or using more resources of mail server through the website script.
2. If so, does that server require authentication?
If you use mail server to relay mail like smtp server as mail.domainname.com then you have to require the emailid + password of the domain which you are using in the script to authentication and if you use localhost means webserver SMTP then you did’t require any authentication for it.
3. If so, what is the name or address of that SMTP server?
Address of the smtp server in both case are :
From the webserver smtp then you have to use smtp server as ‘localhost’ or server IP and in this case didn’t require authentication.
From the mail server then you have to use smtp server as mail.domainname.com or your mail server IP and in this case you have to require emailid + password to authentication on the mail server.
5. And what username and password combination should I use to authenticate with that SMTP server for email generated by my web site?
The any emailid + password of the domain which is you used in the smtp server variable in the send mail script.
6. Are there any other restrictions on the SMTP service or security requirements that I should be aware of?
No.. their is no other restriction for it because if we allow user to send mail without authentication through the script then your mail server performance also effected.