Jump to content

PHP mailer


JamesThePanda

Recommended Posts

Hi guys

I have this problem I made a script a simple form to email script. Instead of using the mail function I used PHPmailer to connect via SMTP and it was working great on my server.

I have tried it out on a friends server and it come up with 'cannot connect to SMTP host '.

I find this realy odd as even tho we use different hosting comanies the set up is very similar, and both scripts are configured exactly the same. I tried useing an email address on his server and my server I have done several things but nothing has worked, I tried using port 25 and 26.

Can anyone shed any light on this

 

thanks

 

James

Link to comment
https://forums.phpfreaks.com/topic/198206-php-mailer/
Share on other sites

Its hard to offer much help without knowing any details the only other thing i could suggest is setting the host to localhost with his email if you havent tried that already, similar hosting is not always similar hosting setup regarding server configuration

Link to comment
https://forums.phpfreaks.com/topic/198206-php-mailer/#findComment-1039967
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.