Connection reset by peer error - Page...

User 2055394 Photo


Registered User
34 posts

Hopefully someone can steer me in the right direction.

Had a form on a clients site working just fine. Unbeknownst to me, they decided to add a SSL certificate to the site. Now the forms are not working properly. I'm not getting far with the host but it's possible i'm not asking the right questions.

This is the errors i'm getting when the form is submitted:

Warning: [ err 2/line 1088/smtp.cls.php] fgets(): SSL: Connection reset by peer
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ … leshooting


It is referring to a line of code that is generated by the software. However, I have no idea what's wrong or what to ask the host to look at.

What am I to do?
User 2088758 Photo


Senior Advisor
2,716 posts

Hi Ron, have you tried submitting a support ticket to Coffeecup yet?

https://www.coffeecup.com/help/myroom/
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 187934 Photo


Senior Advisor
18,713 posts
Online Now

Is the iframe src absolute or relative?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2055394 Photo


Registered User
34 posts

@Steve, No I have not. I will try that.

@ Eric, I'm not using the iframe method, only the script portion.
User 187934 Photo


Senior Advisor
18,713 posts
Online Now

What do mean by script portion?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2055394 Photo


Registered User
34 posts

I only include the code between the <script></script> tags. I leave out the iframe code.
User 187934 Photo


Senior Advisor
18,713 posts
Online Now

Can you share a link to your form?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2055394 Photo


Registered User
34 posts

https://www.sammconsulting.com/Corporate-Sales-Training.html

try filling out the required fields and you will see the errors that come from it.
User 236055 Photo


Registered User
28 posts

Hi Ron

It may be the mail server is not liking PHP mailer. I had a similar issue. If your hosting supports SSL (smtp) then alter the user config file to below subbing for your outgoing mail server address see if this fixes it


// What service is available for sending mail? Possible values are:
// - localhost [default] Server where the shop is installed, must be a Linux or Unix machine with sendmail
// - smtp A mail server of your choice that supports the standard SMTP protocol
//$user_config['mailer']['service'] = 'localhost';
$user_config['mailer']['service'] = 'smtp';

// Does the remote SMTP server need authentication?
$user_config['mailer']['smtp']['auth'] = true;
//$user_config['mailer']['smtp']['auth'] = false;

// Use this if the server needs authentication:
$user_config['mailer']['smtp']['user'] = 'user@domain.com';
$user_config['mailer']['smtp']['password'] = 'Passw0rd';

// The address of the server
$user_config['mailer']['smtp']['host'] = 'mail3.yourhost.comhere';
//$user_config['mailer']['smtp']['host'] = 'smtp.gmail.com';

// Connection parameters for a plain SMTP server
//$user_config['mailer']['smtp']['port'] = '25';
//$user_config['mailer']['smtp']['secure'] = '';

// Connection parameters for a SMTP server that supports secure connections, such as smtp.gmail.com
$user_config['mailer']['smtp']['port'] = '465';
$user_config['mailer']['smtp']['secure'] = 'ssl';
Web Developer UK
User 2055394 Photo


Registered User
34 posts

Hi Phil,

I checked this file (see below) and it is still not working. Getting same error.


/*********************** Send Mail Configuration ****************************/

// What service is available for sending mail? Possible values are:
// - localhost [default] Server where the shop is installed, must be a Linux or Unix machine with sendmail
// - smtp A mail server of your choice that supports the standard SMTP protocol
//$user_config['mailer']['service'] = 'localhost';
$user_config['mailer']['service'] = 'smtp';

// Does the remote SMTP server need authentication?
$user_config['mailer']['smtp']['auth'] = true;
//$user_config['mailer']['smtp']['auth'] = false;

// Use this if the server needs authentication:
$user_config['mailer']['smtp']['user'] = 'service@sammconsulting.com';
$user_config['mailer']['smtp']['password'] = 'XXXXXXX';

// The address of the server
$user_config['mailer']['smtp']['host'] = 'box914.bluehost.com';
//$user_config['mailer']['smtp']['host'] = 'smtp.gmail.com';

// Connection parameters for a plain SMTP server
//$user_config['mailer']['smtp']['port'] = '25';
//$user_config['mailer']['smtp']['secure'] = '';

// Connection parameters for a SMTP server that supports secure connections, such as smtp.gmail.com
$user_config['mailer']['smtp']['port'] = '465';
$user_config['mailer']['smtp']['secure'] = 'ssl';


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.