Forums

e-mail plugin problem (4 posts)

  1. perfectlover
    Member
    Posted 7 years ago #

    I am getting following error , when i am using e-mail plugin
    Warning: fsockopen(): unable to connect to localhost:25 in /xxx/xxxx/public_html/ssa/wp-includes/class-smtp.php on line 105
    Language string failed to load: connect_host
    any one have any idea
    thanks

  2. adsworth
    Member
    Posted 7 years ago #

    Hi,
    an idea yes. :)
    the plugin is trying to send an email via an smtp server on localhost,
    which doesn't have smtp server installed, so the connection fails.
    You need find the place where to tell the plugin which smtp server to use
    and give it the hostname of your smtp server (providers smtp server).
    Regards
    Adi

  3. perfectlover
    Member
    Posted 7 years ago #

    Thanks for reply. after giving smtp address i am getting following error,
    Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/xxx/public_html/xxx/wp-includes/class-smtp.php on line 105
    Warning: fsockopen(): unable to connect to smtp.varshneys.net:25 in /home/xxx/public_html/xxx/wp-includes/class-smtp.php on line 105
    Language string failed to load: connect_host
    However, I am using same smtp address to send mail when some one post comments , I am getting proper mails.

  4. adsworth
    Member
    Posted 7 years ago #

    Hi,
    it looks like the servername smtp.varshneys.net doesn't exists.
    I definitly can't find an IP address to the name.
    Regards
    Adi

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.