I am working on a php program which would allow a user to enter information in a form and then send that information to a particular email address. I've been told that you need to have something called an SMTP server installed on your computer to make this happen. However, I have no idea what this is, and when installed, what code to use in order to send emails when someone using the php file enters information in a form and submits it. Could someone please help me with this?
migrated from stackoverflow.com Apr 21 '11 at 16:54
This question came from our site for professional and enthusiast programmers.
You need an email server (specifically an SMTP server) in order to send email. If you don't run one yourself, you'll need to send mail through one run by your company or ISP or someone else, the same way you would with any other email client.