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 :slight_smile:

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.

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