Sending Mail on Linux via Bash/Command line

Posted by Fanvaron on Super User See other posts from Super User or by Fanvaron
Published on 2013-10-24T12:36:38Z Indexed on 2013/10/24 15:59 UTC
Read the original article Hit count: 324

Filed under:
|
|
|

I'm currently trying to send mails via bash script on linux I searched the internet and found this code: echo "This is my body" | mail -s"this is my header" [email protected] I don't get any response either in the bash nor when I type it directly in the command line. I waited for at least 3 hours now and still got no mail. I just found that the log says stat=Deferred: Connection timed out with backup-mx.mcs.de. when sending to my Mail address but also has some entries with to<[email protected]> and stat=Sent

greetings

© Super User or respective owner

Related posts about linux

Related posts about command-line