SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Feb 2006
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help Me To Find The Solution To Smtp Error when using PHP

    Iam devloping an application using php and mysql. my problem is that when I fill the form that is in php and submit it so that it sends data to database and e-mail, it is sending to the data to database, but it is not sending to e-mails and Iam receiveing the following errors

    Warning: mail() [function.mail]: Failed to connect to mailserver at "172.16.0.21" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in c:\local\wamp\www\subsistence\before_travel_application2.php on line 188

    So how can set up the application or mail server so that I will be able to send with out a problem or error.
    Your help will highly appreciated.

    On mail server and my Desktop iam receiving the same error
    Last edited by zamzam; Mar 29, 2006 at 03:23.

  2. #2
    SitePoint Wizard silver trophy
    Join Date
    Mar 2006
    Posts
    6,132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    your getting this error or on your local server at home?

    if so, many isp's block port 25.

  3. #3
    SitePoint Addict
    Join Date
    Feb 2006
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    On mail server and my desktop computer Iam receiving the same error


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •