Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Posts
    688

    php mail problem

    Warning: fsockopen() [function.fsockopen]: unable to connect to mail.userdomain.com:25 (Connection timed out) in /home/user/public_html/_inc/class.smtp5.php on line 122
    Message could not be sent. Mailer Error: Language string failed to load: connect_host



    What would cause this? Using php 5 with phpsuexec enabled.

  2. #2
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,910
    Are you trying to send mail using the local server or a remote SMTP server via the PHP script?

    If it's local, change mail.userdomain.com:25 to localhost:25 either in the configuration file or try editing /home/user/public_html/_inc/class.smtp5.php at line 122.
    Patrick William | RACK911 Labs | Software Security Auditing
    400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com

    www.HostingSecList.com - Security notices for the hosting community.

  3. #3
    Join Date
    Jan 2008
    Location
    St. John's, NL
    Posts
    2,114
    You appear to be using phpMailer. In that same folder, do you see a "language" folder?
    Cpanel/WHM PHP Perl Ruby Full Time Support
    LCWSoft - Canada web hosting (based in Newfoundland) since 2007
    Servers based in the US and Canada (Uptime Report)

Posting Permissions

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