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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: diya_pratap_malhotra at yahoo dot co dot in
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Mon Oct 14 17:01:28 2024 UTC