开发者

Setting up SMTP for php mail [duplicate]

开发者 https://www.devze.com 2023-03-09 05:00 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: smtp configuration for php mail
This question already has answers here: Closed 11 years ago.

Possible Duplicate:

smtp configuration for php mail

Im a newbie programmer and im try to do a software that includes sending confIrmation through email. Im using WAMp server and using Php as my language. I know i have to set开发者_如何学Goup an my smtp so i can send emAils but i have no idea how to do it. Im using windows 7 64bit os. Hope someone can give me a step by step tutorial of this. Thank you!


Installing XAMPP is the easiest way to setup a LAMP stack on Windows. It comes with an SMTP server.


Here is a good walkthrough of how to do this:

http://php.net/manual/en/ref.mail.php

The one key here is that if you want to use a local SMTP server, you either have to have one running (doubtful) or you should install one of the test ones available for this type of use.

If you need a SMTP server test tool, I use the Free SMTP Server tool from this site:

http://www.softstack.com/

It is free, easy to use, and simple. For development, I can't ask for more.

0

精彩评论

暂无评论...
验证码 换一张
取 消