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 2015-01-10 00:23:33

gcusick
Member
Registered: 2013-03-04
Posts: 40

SMTP Problem with CE4 Pages Contact Form

Hi,
Just upgraded the home page of my site from CE3 -> CE4.  Most seems to work correctly, but I'm having trouble with the Contact Form.  Specifically, submitting a message results in the following error response:

fsockopen() [function.fsockopen]: unable to connect to ssl://auth.smtp.1and1.co.uk:587 (Connection timed out)|#0 [internal function]: ErrorHandler::handleError('ssl://auth.smtp...', 587, 110, 'Connection time...', 10) #1 /homepages/42/d20590601/htdocs/webroot/ttg-be/framework/lib/SMTP.php(125): fsockopen('ssl://auth.smtp...', 587, 10) #2 /homepages/42/d20590601/htdocs/webroot/ttg-be/framework/lib/PHPMailer.php(604): SMTP->Connect() #3 /homepages/42/d20590601/htdocs/webroot/ttg-be/framework/lib/PHPMailer.php(520): PHPMailer->SmtpConnect('Date: Fri, 9 Ja...', '--b1_26555f09e8...') #4 /homepages/42/d20590601/htdocs/webroot/ttg-be/framework/lib/PHPMailer.php(413): PHPMailer->SmtpSend() #5 /homepages/42/d20590601/htdocs/webroot/ttg-be/framework/helpers/EmailHelper.php(115): PHPMailer->Send() #6 /homepages/42/d20590601/htdocs/webroot/ttg-be/framework/helpers/EmailHelper.php(61): EmailHelper->sendEmailViaSMTP() #7 /homepages/42/d20590601/htdocs/webroot/ttg-be/admin/application/delegates/ContactDelegate.php(67): EmailHelper->send(Array, Array) #8 /homepages/42/d20590601/htdocs/webroot/contact.php(130): ContactDelegate->contact() #9 {main}|URL: /contact.php

'auth.smtp.1and1.co.uk' is the smtp server for my ISP, which works correctly from my mailer (Thunderbird), from a Wordpress Blog on the same host,  and from a NAS on my home network.  I've checked username and password (more than once!).  I've also tried sending the form via my gmail account, with the appropriate credentials.

I've got ttg-be v2.0.2 installed (checked that), and I think (?) that everything is correctly configured (though, presumably, it's not or things would be working).

Not sure what to do next.  Looking on the bright side, it should cut down on the spam I receive!


Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk

Offline

#2 2015-01-10 00:49:51

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

Re: SMTP Problem with CE4 Pages Contact Form

To save some time for when Matt has a chance to look, be sure to post a link to your site as well as enable guest access to ttg-be


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 2015-01-10 00:58:31

gcusick
Member
Registered: 2013-03-04
Posts: 40

Re: SMTP Problem with CE4 Pages Contact Form

Thanks Rod.

My website is http://www.cusick.org.uk

Guest Admin is enabled for ttg-be.

Quick question: do I need PHPlugins enabled?

Thanks

Geoff


Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk

Offline

#4 2015-01-10 01:08:46

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

Re: SMTP Problem with CE4 Pages Contact Form

Quick question: do I need PHPlugins enabled?

No, but I always recommend that folks enable site wide phplugins from the start. Just in case you ever want to use custom css or control your navigation with phplugins. This will just save you needing to export and upload Pages, templates, and individual pages again.
http://ttg-tips-and-tricks.barbeephoto. … ins-start/


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

Offline

#5 2015-01-12 03:28:45

gcusick
Member
Registered: 2013-03-04
Posts: 40

Re: SMTP Problem with CE4 Pages Contact Form

Thanks Rod.  I did it anyway, having read the documentation section on PHPlugins.

Regards
Geoff


Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk

Offline

#6 2015-05-02 20:40:16

skipper
Member
Registered: 2013-04-26
Posts: 121

Re: SMTP Problem with CE4 Pages Contact Form

Hi,

Was this problem resolved and when yes, what was the solution?

I am having the same problem with the contact form and the SMTP.1und1.com server. I get basically the same return code.

Cheers

Peter

Offline

#7 2015-05-02 20:52:45

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

Re: SMTP Problem with CE4 Pages Contact Form

You're best trying the 'mail' setting instead.  Most hosts now block smtp.

Offline

#8 2015-05-02 21:34:57

gcusick
Member
Registered: 2013-03-04
Posts: 40

Re: SMTP Problem with CE4 Pages Contact Form

Apologies for not reporting that this problem was resolved by using the 'mail' setting.

Thanks
Geoff


Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk

Offline

#9 2015-05-02 22:08:55

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

Re: SMTP Problem with CE4 Pages Contact Form

Thanks for letting us know Geoff

Offline

#10 2015-05-03 02:20:55

skipper
Member
Registered: 2013-04-26
Posts: 121

Re: SMTP Problem with CE4 Pages Contact Form

Thanks! I will try that on Monday then.

Offline

#11 2015-05-03 18:28:13

skipper
Member
Registered: 2013-04-26
Posts: 121

Re: SMTP Problem with CE4 Pages Contact Form

Works now for me too!

Offline

Board footer

Powered by FluxBB