Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* When sending a mail message we need to connect to a relay host * Append the system error string to the nice error in $emesg, which is already terminated with a newline * This makes the error take up 2 lines but I think it's still better because we can see more specific info on what failed %RELAYHOST=127.0.0.1 perl mail go@google.com # now shows... Unable to connect to the specified relay host IO::Socket::INET: connect: Connection refused
- Loading branch information