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?

link|improve this question
Voting to move to serverfault. – Brad F Jacobs Apr 21 '11 at 15:09
I'm not going to be any help with Vista but note this: it is true that to send an email you need access to an smtp server but it does not need to be on the same computer as your code. Given your limited familiarity with smtp I'd be looking for an smtp server you can use instead of one that you personally have to manage. – icky3000 Apr 21 '11 at 18:47
feedback

migrated from stackoverflow.com Apr 21 '11 at 16:54

This question came from our site for professional and enthusiast programmers.

1 Answer

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown