Wednesday, August 18, 2010

Using mail command in Linux

This is actaully very simple. Just adding the something which is difficult to find.

How to give sender (From) part in Linux mail command.

mail -s "Subject content" amitgupta0105@gmail.com -- -rfrom@mail.id
 < mail text file.

In above keep in mind the from it has be like (-- -r) after than immediate sender mail id. Don;t get confuse by r coming in front of from@mail.id .


TAG :
 give sender mail ID in linux mail commad
From mail ID in linux mail command.

No comments:

Post a Comment