Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

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

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

    
    
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

1 Answer 1

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.

share|improve this answer
    
If you try to run an SMTP server from your Vista box you're going to run into nothing but problems across the board with sending. You're better off leveraging an SMTP server with a good IP address reputation. –  Techie Joe Oct 8 '13 at 23:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.