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 2017-08-24 03:03:33

fotoszubi
Member
Registered: 2014-08-01
Posts: 38

Changing to newer version of PHP and smtp does not work correctly.

Changing to newer version of PHP and smtp does not work correctly, order messages are not sent.

I have TTG BE version 2.0.5
Cart Version 3.1.4
PHP 7,1


When I had an older email, sending the message while configuring smtp worked well.

I want to send mail from gmail mail address. This only allows me to configure by smtp. Messages sent when configuring mail are often treated by gmail as spam.

Can I do something to do it well?

Offline

#2 2017-08-24 03:14:50

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

Re: Changing to newer version of PHP and smtp does not work correctly.

there's a few things about this from a Google search. One person found that his password was causing the issue:
https://wordpress.org/support/topic/her … ct-failed/


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 2017-08-24 03:36:31

fotoszubi
Member
Registered: 2014-08-01
Posts: 38

Re: Changing to newer version of PHP and smtp does not work correctly.

Unfortunately this solution does not work for me. The password I had and I have a simple and it does not work.

I also changed for a moment so that there were only digits and letters 123456adfgtresdfr - it did not work.

Offline

#4 2017-08-24 04:17:30

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

Re: Changing to newer version of PHP and smtp does not work correctly.

I know the mail function in Backlight is compatible with php 7.x, but I don't know about the CE4 version. Something for Ben to address.


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 2017-08-24 07:39:56

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

Re: Changing to newer version of PHP and smtp does not work correctly.

I am not aware of any change in 7.1 that would affect mail going out. As you are still receiving it, albeit as spam, this indicates that the backend is working. What may have changed with the upgrade is your host’s email configuration.

Who are you hosting with? We have a wiki article on improving mail handling for sites hosted on Bluehost. Some or all of the points may be helpful for other hosts: http://backlight.theturninggate.net/doc … n_bluehost

Offline

#6 2017-08-24 15:42:58

fotoszubi
Member
Registered: 2014-08-01
Posts: 38

Re: Changing to newer version of PHP and smtp does not work correctly.

I went back to PHP 5.6. Unfortunately, PHP version 7.1 also caused problems on my site and wordpress.

Now, however, configuration is still not working at smtp. Everything is fine when the message is sent from "mail".
However, I want to send smtp messages because these messages are not seen by gmail as spam.

Personalisation

Company Name        Darek Szubiński - fotoszubi.pl
Company URL        http://www.fotoszubi.pl
Title        [COMPANY_NAME]
Site Email        info@fotoszubi.pl
Vendor Email        info@fotoszubi.pl
Template       
Email Configuration

Mail Send Type        smtp
SMTP Host        smtp.gmail.com
SMTP Username        fotoszubi@gmail.com
SMTP Password        [ hidden ]
SMTP Port        465
SMTP Security Protocol        ssl
Contact Form

Email Subject        Nowa wiadomość została wysłana
Miscellaneous

Language        en_US
Timezone        Europe/Warsaw
Set Album Permissions        no
Album Permissions        755
Set PHP File Permissions        yes
PHP Permissions        644
Set File Permissions        yes
File Permissions        644


What am I doing wrong?

Offline

#7 2017-08-24 16:27:46

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

Re: Changing to newer version of PHP and smtp does not work correctly.

Outgoing SMTP is likely blocked by your host. Use ‘mail’.

Offline

#8 2017-08-24 16:31:15

fotoszubi
Member
Registered: 2014-08-01
Posts: 38

Re: Changing to newer version of PHP and smtp does not work correctly.

Unfortunately, "mail" despite being working properly is bad for me. Any notification sent to a customer who has an address for "gamil" is considered spam. This is a host error and the only solution is smtp itself.
Before the change, PHP smtp worked fine, now I have returned to the old php version but the mail does not work (;)

Offline

#9 2017-08-24 16:32:11

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

Re: Changing to newer version of PHP and smtp does not work correctly.

And see the link I posted above for tips on avoiding mail being marked as spam.

Who are you hosting with?

Offline

#10 2017-08-24 16:34:17

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

Re: Changing to newer version of PHP and smtp does not work correctly.

If your host has a policy to block outgoing emails to gmail then this is an issue for their technical support. They should either remove the restriction or enable outgoing smtp traffic, assuming they’ve blocked that.

Offline

#11 2017-08-24 17:03:34

fotoszubi
Member
Registered: 2014-08-01
Posts: 38

Re: Changing to newer version of PHP and smtp does not work correctly.

I have host in: http://one-way.pl/
Ben, thank you for the tips, i will try to solve the problem and give you information.

Offline

Board footer

Powered by FluxBB