Contact Form Issue (Still); Dreamhost

4 replies · opened May 14, 2018

CC0deysseusMay 14, 2018

Hi there!

I've been trying to get the contact form on my site to work for the past... well, almost year now, and I've had no luck still.
When I submit the form, I get the following:

{ "alert": "test", "message": "Alert: Test 2, after $body = nameemailmessref" }}2018-05-14 17:28:09 SMTP ERROR: Failed to connect to server: Connection refused (111) 2018-05-14 17:28:09 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting { "alert": "error", "message": "Email could not be sent due to some Unexpected Error. Please Try Again later.

Reason:
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting" }

I have followed the setup in Documentation > Widgets > Contact and nothing works. I have php 5.6 on this site, and I'm not understanding why the SMTP is refusing the connection. I have added in the SMTP "$mail = new PHPMailer();" code from the Documentations page, but that hasn't helped. I have also set the password to "TestPass" for now for security purposes, but using the password for my webmail doesn't solve the issue. (The email I'm using has been set up with DreamHost.)

Furthermore, in my localhost environment, I do not get the above error; I get the following:

{"code":"ResourceNotFound","message":"/include/sendemail.php does not exist"}

I've included that resource in the form and above as a script link in the HTML. Is all of this an issue with DreamHost (my web hosting provider), or with my Canvas setup?

Thanks in advance!

CC0deysseusMay 18, 2018

If there's anything else I need to provide to help solve this, please let me know!

CC0deysseusMay 23, 2018

I paid for support a second time to see if I could get this issue resolved, and I've still gotten nothing. Should I get in touch with my web host provider at this point? Is this unsolvable? (It's fine if it is, I'd just rather know.)

CC0deysseusMay 25, 2018

Okay, since I haven't gotten any results from you guys I changed the email address I was using.

However, now nothing happens when I click the "Submit" button. Any fixes for this?

SSemicolon WebSTAFFJun 6, 2018

Hello,

Thanks for your Patience!

We use the Latest Version of the PHPMailer and Issues with Contact Forms are mostly because of the Server Environment and Blocks imposed by the Hosting Providers. Consider using an Email Address from the same Domain Name of your Hosting Account and it should work fine.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard