php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49822 error using mail functions
Submitted: 2009-10-09 13:12 UTC Modified: 2009-10-10 11:57 UTC
From: diya_pratap_malhotra at yahoo dot co dot in Assigned:
Status: Not a bug Package: Mail related
PHP Version: 5.3.0 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 + 17 = ?
Subscribe to this entry?

 
 [2009-10-09 13:12 UTC] diya_pratap_malhotra at yahoo dot co dot in
Description:
------------
when using the mail() function m getting an error as the following 
---

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 D:\wamp\www\mscit9\EmailSend.php on line 34

---
when i changed in php.ini even then m getting another error msg

Tell me exactly what to configure in php.ini and how to use the mail() function to send the mail 

plzzz.......


Reproduce code:
---------------
---
From manual page: function.mail#Description
---



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-10 11:57 UTC] Sjoerd@php.net
Thank you for your report.

This site, bugs.php.net, is not for requesting support but for filing bugs in PHP. For support, please see http://www.php.net/support.php
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 05:01:30 2024 UTC