InMotion Hosting

Post Reply
User avatar
Jeffm5690
Advisor
Advisor
Posts: 80
Joined: Sun Aug 20, 2017 1:30 pm
Location: New York USA
Station model: Davis Pro 2
Software: Weather Display
Contact:

InMotion Hosting

Post by Jeffm5690 » Sat Dec 30, 2017 3:36 pm

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!

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: InMotion Hosting

Post by jay_hoehn » Sat Dec 30, 2017 6:47 pm

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

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: InMotion Hosting

Post by Jachym » Sat Dec 30, 2017 7:09 pm

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

User avatar
Jeffm5690
Advisor
Advisor
Posts: 80
Joined: Sun Aug 20, 2017 1:30 pm
Location: New York USA
Station model: Davis Pro 2
Software: Weather Display
Contact:

Re: InMotion Hosting

Post by Jeffm5690 » Sat Dec 30, 2017 7:15 pm

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?

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: InMotion Hosting

Post by jay_hoehn » Sat Dec 30, 2017 8:04 pm

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

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: InMotion Hosting

Post by Jachym » Sat Dec 30, 2017 9:45 pm

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

Post Reply