• Resolved beechbeck

    (@beechbeck)


    Hi I had been using contact form plugin and it just suddenly stopped working. I then tried WPforms. Doesn’t work. I’ve now installed a SMTP plugin. But i really can’t get anything working. I just want a basic contact form for my site so that people can use it to get in touch.

    Below is the message I receive. It just won’t send anything. And it offers things like SendLayer but it also say you have to pay after a certain time. Can I not just use a free contact form to recieve messages from people?

    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server Additional SMTP info: php_network_getaddresses: getaddrinfo failed: Name or service not known
    Host: n1plcpnl0113.prod.ams1.secureserver.net
    Port: 587
    SMTPSecure: tls
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)

    Server:
    OpenSSL: OpenSSL 1.1.1w 11 Sep 2023
    Apache.mod_security: No

    Debug:
    Email Source: WP Mail SMTP
    Mailer: Other SMTP
    SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server Additional SMTP info: php_network_getaddresses: getaddrinfo failed: Name or service not known

    SMTP Debug:
    2025-02-03 23:13:03 Connection: opening to n1plcpnl0113.prod.ams1.secureserver.net:587, timeout=30, options=array()

    2025-02-03 23:13:03 Connection failed. Error #2: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known [/home/pro1globalab/public_html/wp-includes/PHPMailer/SMTP.php line 409]

    2025-02-03 23:13:03 Connection failed. Error #2: stream_socket_client(): unable to connect to n1plcpnl0113.prod.ams1.secureserver.net:587 (php_network_getaddresses: getaddrinfo failed: Name or service not known) [/home/pro1globalab/public_html/wp-includes/PHPMailer/SMTP.php line 409]

    2025-02-03 23:13:03 SMTP ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)

    SMTP Error: Could not connect to SMTP host. Failed to connect to server

    both forms are on this page

    Any help would be much appreciated as I’m stuck and confused where to go next apart from just having an email address.

    thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Shawon Chowdhury

    (@shawon001)

    Hi @beechbeck ,
    Thanks for reaching out.

    Based on the error message-
    “SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server Additional SMTP info: php_network_getaddresses: getaddrinfo failed: Name or service not known”

    This means the plugin cannot connect to your SMTP server. When using the “Other SMTP” option, it is critical to make sure you have the right credentials to start off. When you get a chance, please double-check the password you’re using with the SMTP connection to be sure it’s correct.

    In case it helps, please check out our step-by-step guide on setting this up?here.
    You can then test your server credentials in an isolated environment to discard/confirm any issues local to your site. A tool like?this?would do the job.

    If this doesn’t resolve the issue, you may have to contact your email hosting provider and share the error message with them, as it has to do with authentication on their server.

    The SMTP host provider will be able to provide the following details that you can then use when connecting the mailer’s SMTP server:

    SMTP Host: The outgoing server listed in your email provider’s SMTP settings.
    Encryption: The type of encryption used for the SMTP connection (TLS, SSL, or none).
    SMTP Port: The port your provider uses for SMTP connections.
    Authentication: Turns authentication on or off. Most providers require it to be on.
    SMTP Username: Your email address.
    SMTP Password: You may need to generate an app password for your account, depending on the host.

    I hope this helps ??

    Thread Starter beechbeck

    (@beechbeck)

    thanks for you reply I will give this a go

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.