Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2018-02-01 02:57:47

gosselin109
Member
From: Québec, Canada
Registered: 2015-01-19
Posts: 42
Website

SMTP Authentication to the php code in contact form

Hello,
sorry for this CE4 questions but may be it's the same with backlight...
So my server provider now needs smtp authentication.
I made the change to smtp instead of mail and put the following info

smtp-mail.outlook.com
outlook email address
outlook password
Port 587
SSL

now, instead of having a security error as before, I receive the following error when sending the contact form.
any idea to resolve this?
thanks

fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol|#0 [internal function]: ErrorHandler::handleError(2, 'fsockopen(): SS...', '/home/c685174/p...', 125, Array) #1 /home/c685174/public_html/ttg-be/framework/lib/SMTP.php(125): fsockopen('ssl://smtp-mail...', 587, 0, '', 10) #2 /home/c685174/public_html/ttg-be/framework/lib/PHPMailer.php(604): SMTP->Connect('ssl://smtp-mail...', 587, 10) #3 /home/c685174/public_html/ttg-be/framework/lib/PHPMailer.php(520): PHPMailer->SmtpConnect() #4 /home/c685174/public_html/ttg-be/framework/lib/PHPMailer.php(413): PHPMailer->SmtpSend('Date: Wed, 31 J...', '--b1_ee70a7aed8...') #5 /home/c685174/public_html/ttg-be/framework/helpers/EmailHelper.php(115): PHPMailer->Send() #6 /home/c685174/public_html/ttg-be/framework/helpers/EmailHelper.php(61): EmailHelper->sendEmailViaSMTP() #7 /home/c685174/public_html/ttg-be/admin/application/delegates/ContactDelegate.php(67): EmailHelper->send() #8 /home/c685174/public_html/contact.php(51): ContactDelegate->contact(Array, Array) #9 {main}|URL: /contact.php

Offline

#2 2018-02-01 03:04:34

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: SMTP Authentication to the php code in contact form

Ben may also need a link to your site


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2018-02-01 03:48:39

gosselin109
Member
From: Québec, Canada
Registered: 2015-01-19
Posts: 42
Website

Re: SMTP Authentication to the php code in contact form

Offline

#4 2018-02-01 05:33:05

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: SMTP Authentication to the php code in contact form

Is that lowercase ‘ssl’. If not, try that.

Otherwise can you provide me with a TTG BE admin via email.

Offline

Board footer

Powered by FluxBB