|
How to send mail from unix server?
|
|
| Piyu | Date: Friday, 2014-04-18, 1:41 PM | Message # 1 |
 Private
Group: Users
Messages: 10
Awards: 0
Reputation: 21
Status: Offline
| How to send mail from unix server?
|
| |
|
|
| shanky | Date: Friday, 2014-04-18, 1:56 PM | Message # 2 |
 Lieutenant
Group: Administrators
Messages: 46
Awards: 0
Reputation: 104
Status: Offline
| Glad to see u again.. U can send mail in two ways: 1. using mail command 2. using mutt application 1. Using mail, try below commad: mail [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] To-address <file Eg. mail -s 'hello priyanka' -a abc.txt -c priyanka_das06@infoys.com Priyanka.Das@partner.bmw.de < abc.txt
The above command will send the content of file abc.txt to Priyanka.Das@partner.bmw.de with priyanka_das06@infoys.com in CC with abc.txt as attachment with hello priyanka as subject 2. Using Mutt See this Article FOR ANY QSN REPLY BACK..
s.k.bhagat
|
| |
|
|
| shanky | Date: Friday, 2014-04-18, 3:19 PM | Message # 3 |
 Lieutenant
Group: Administrators
Messages: 46
Awards: 0
Reputation: 104
Status: Offline
| Just to update you. The above command can send a mail from content of a file (using mail command), but if you want to send a mail by directly typing on terminal , you can do it. Just try: Prompt:>mail receiverId [press Enter] Subject: <give some subject> [press Enter] <type your mail here> <-------> Press Ctrl +D to end mail body. Your typed message will be sent Enjoy..
s.k.bhagat
|
| |
|
|