Page 1 of 1

InMotion Hosting

Posted: Sat Dec 30, 2017 3:36 pm
by Jeffm5690
Do any MT Users have inMotion as a host? I am having some issues getting my MT email to work in the template. I do have email at inMotion and it is set up with @linyweather.net. I can't seem to send messages through MT. Is someone is using inMotion and this is working, please let me know how you have it setup in C-Panel so I can figure it out.

MANY THANKS!

Re: InMotion Hosting

Posted: Sat Dec 30, 2017 6:47 pm
by jay_hoehn
Jeff,
I am not on inMotion but I'm with WebHosting Hub. I have tried to switch to PHP 7.1 on my host and the meteotemplate email doesn't work. Check what version of PHP you are on and if it is 7.1 try 7.0. I can't get it to work on 7.1 at all and I can't see what changed with the the version to stop it from working.
Jay

Re: InMotion Hosting

Posted: Sat Dec 30, 2017 7:09 pm
by Jachym
Interesting because I personally use 7.1 as well and it works fine and from the PHP documentation I cannot see any change in the mail function. It is the most basic mail function

Re: InMotion Hosting

Posted: Sat Dec 30, 2017 7:15 pm
by Jeffm5690
Well now... that did it. Went back to php 7.0 and the email went and showed up in my inbox in seconds. I guess there must be something with 7.1?

Re: InMotion Hosting

Posted: Sat Dec 30, 2017 8:04 pm
by jay_hoehn
Jachym, Jeff,
I spoke at length with my host tech support and they said the code must be rewritten for 7.1 but couldn't give me specifics. I can write a simple php page to send an email using the same line of code in the template and it works fine. The function just doesn't work within MeteoTemplate using 7.1.

Jay

Re: InMotion Hosting

Posted: Sat Dec 30, 2017 9:45 pm
by Jachym
Which is very strange for two reasons:

1) I use 7.1 as well...
2) it is not any "meteotemplate function", I use the basic default "mail" function in PHP

SImple:
mail(.....);

Odd,,, I will have a look if they changed something in 7.1, but I use it myself and emails are being sent normally