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
 [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-2022 The PHP Group
All rights reserved.
Last updated: Wed May 25 23:05:45 2022 UTC