rafau
Oct 17 2015

How to send an e-mail from ssh account?
1  2K+ {{tagitem.name}}
Hi,

Is it possible to send an e-mail from ssh account to external e-mail server (e.g. gmail.com)?
I tried to use command 'mail', but in /var/mail/ I can see the following answer:

"This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed: [email protected]".

Thanks for help.
mail() is disabled due to security reasons, since this is shared server overall, and so are the resources and we do not want to act like a "open" relay.

You can use external smtp/pop3 service though.
Staff StephenS    Oct 18 2015

Please Login or Sign Up to leave a reply.