php 5.2.17 and phpmailer.php

I have used phpmailer successfully on many sites. I tried setting up a basic contact page using phpmailer on a php 5.2 website today. I cannot get it to work, I get the following error:
[SIZE=16px][FONT=Verdana]SMTP Error: Could not connect to SMTP host.[/FONT][/SIZE]

I have conformed that the mail server is correct: mail.cpowersgc.com
I logged in using the same username and password that I am using in my script
I’ve turned ssl on and off. changed the port to 587 and tired any other changes that I could think of.

Is there something different that needs to be done for phpmailer with php 5.2? I did download an updated version of phpmailer.php that says it works on php 5

ok, it should work yes, what server is this on? I will check that PEAR is installed.

The website is on web10.microwebnow.net
The mail server is on mail6

Please open a support ticket with SMTP details and contact page url . We will check and will update you through ticket.

I opened ticket [SIZE=11px][FONT=Tahoma]MTX-61169-745[/FONT][/SIZE]
[SIZE=11px][FONT=Tahoma][/FONT][/SIZE]

We are checking it and update you on ticket.

We have updated your ticket.Please check.

In case someone else is having this issue, it give the SMTP error if I use mail.domainname.com, but works if I use mail6.gohsphere.com.

this could be something with the new php builds on hsphere now as well, I know it used to not be this way.

I now it wasn’t like this before either. I didn’t even consider changing the host name because that always has worked fine. I posted support’s response here to save someone else the time of debugging the issue.