PHPMAIL_HOST path ?

3 posts / 0 new
Last post
#1 Wed, 09/19/2012 - 10:39
msk19994

PHPMAIL_HOST path ?

Hey Guys I am currently using a script that requires PHPMAIL_HOST path ie Mail host

So i was wondering where can i find this path in the virtualmin i have tried finding it but cant find it

Thanks :)

Wed, 09/19/2012 - 10:42
msk19994

when i try to add mail.mysite.com or mysite.com or smtp.mysite.com

i get this error

SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0) SMTP Error: Could not connect to SMTP host.

Wed, 09/19/2012 - 15:49
andreychek

Howdy,

It sounds like the app you're using isn't able to connect to the SMTP port of the SMTP host it's trying to use.

If you log into the server using SSH, can you telnet to port 25 of the SMTP host?

You can do that with this command:

telnet HOSTNAME 25

Topic locked