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!
