Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
How to send mail in php localhost
Name: baby1234 Date: February 16, 2009 at 23:48:28 Pacific OS: Windows XP CPU/Ram: 504 Product: Donknow / Benq Subcategory: PHP
Comment:
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\New Folder (5)\form_mail_3.6\inc\lib\htmlMimeMail.php on line 680
this problem occur when i submit my form...can anyone tell me what is the problem...how can solve it...thank u all...urgent urgent...
Name: shutat Date: February 17, 2009 at 15:48:22 Pacific
Reply:
If your web server is installed on windows, then you may need to download and install a mail daemon. Pegasus offers a free one. I've used an older version with apache 2 and php 5.2 on a 2K machine and it worked fine under the localhost.
If you're running a flavor of linux, then the mail daemon may not be installed; I'm not sure about other operating systems.
[edit]I believe windows also has a smtp server that can be installed via the control panel. Choose add/remove programs -> add/remove windows components -> internet information service -> "select details"
However, I haven't used the service, so I don't have any idea on how it's setup.
Summary: Hi all, I am new to this group and PHP programming. I have a very simple question. I have a database where I want to store and display all images. I have inserted few images in the database and no...
Summary: Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\mail\mal.php on line 33 I...