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 2014-07-19 03:44:19

darroll
Member
From: london
Registered: 2014-05-03
Posts: 13
Website

Error when using contact form

Having used severl differnt email addresses / smtp servers I keep getting the following error :

fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Connection timed out)|#0 [internal function]: ErrorHandler::handleError(2, 'fsockopen() [Connect('ssl://smtp.gmai...', 465, 10) #3 /home/darro650/public_html/ttg-be/framework/lib/PHPMailer.php(520): PHPMailer->SmtpConnect() #4 /home/darro650/public_html/ttg-be/framework/lib/PHPMailer.php(413): PHPMailer->SmtpSend('Date: Fri, 18 J...', '--b1_54c2ee7b24...') #5 /home/darro650/public_html/ttg-be/framework/helpers/EmailHelper.php(105): PHPMailer->Send() #6 /home/darro650/public_html/ttg-be/framework/helpers/EmailHelper.php(55): EmailHelper->sendEmailViaSMTP() #7 /home/darro650/public_html/ttg-be/admin/application/delegates/ContactDelegate.php(62): EmailHelper->send() #8 /home/darro650/public_html/contact.php(130): ContactDelegate->contact(Array, Array) #9 {main}|URL: /contact.php

ANy ideas ?

Many thanks


Darroll


Darroll Moore Photography
www.darroll.co.uk

Offline

#2 2014-07-19 03:57:57

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Error when using contact form

Don't use the Gmail setup; just set it to use the vanilla "mail" method.


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2014-07-19 04:02:30

darroll
Member
From: london
Registered: 2014-05-03
Posts: 13
Website

Re: Error when using contact form

Changed from "smtp" to "mail" and it works like a charm.

Thanks Matthew


Darroll Moore Photography
www.darroll.co.uk

Offline

Board footer

Powered by FluxBB