Results 1 to 4 of 4
  1. #1

    Default PHP Form emailing now fails

    Hi All - I had a web page on a customer site that had a form in to complete and hit submit. It essentially sends the contents of the form in an email. All fine and working.

    They emailed me today to say it is no longer working.

    Vehicle Repair Solutions

    The error message is -
    Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 2625, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\HostingSpaces\comports\vrs.comports.net\wwwroot \contact.php on line 117
    Any idea what could be causing this..?

    EUK - Have you changed anything on the servers that might cause this issue.?

    Thanks

  2. #2

    Default

    Hello,

    Please use mail.domainname.com (Replace domain name with your domain name) for the SMTP server and use SMTP port 25 or 587. Please make the necessary changes and then try to check. If you are still getting the same error, let me know the file name in which you stored the mail settings so that I can verify it.

    Regards,
    Mary
    Windows Department

  3. #3

    Default

    Hello - Not sure what you mean here as I do not specify anywhere the server or smtp details.

    I am simply using the built in mail() function of php and it used to work fine on this very page.

    I am using the standard dnp windows hosting package on your servers and so have no control over the php settings you set up.

    Please advise.

  4. #4
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,375

    Smile

    Quote Originally Posted by comports View Post
    Hello - Not sure what you mean here as I do not specify anywhere the server or smtp details.

    I am simply using the built in mail() function of php and it used to work fine on this very page.

    I am using the standard dnp windows hosting package on your servers and so have no control over the php settings you set up.

    Please advise.
    Which version of PHP are you using? ie: PHP4 or PHP5? Try switching it from 4 to 5 & it'd work..

    Rock _a.k.a._ Jack
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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