![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mail command in UNIX | Shilpi | UNIX for Dummies Questions & Answers | 0 | 05-15-2008 03:02 AM |
| Mail command | FeNiCrC_Neil | UNIX for Dummies Questions & Answers | 2 | 08-31-2007 10:12 AM |
| I am not able to send mail form unix to other mail accounts. | chinnigd | UNIX for Dummies Questions & Answers | 1 | 04-06-2006 05:31 AM |
| E-Mail from command line for UNIX and Perl?? | jy2728 | Shell Programming and Scripting | 4 | 11-26-2002 02:02 PM |
| can not send mail from unix server to company/yahoo mail | b5fnpct | UNIX for Dummies Questions & Answers | 5 | 11-22-2002 06:24 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
UNIX mail command
hi,
Im trying to send a e-mail to two people e.g X & Y . I run a shell script that uses the mail command to send an email to both these people . The email that i am sending contains two attatchments that i 'add' to a .mail file. mail <recipients> < filename.mail The problem that im getting is that when i send the email both X & Y recieve the email in the MS Outlook Inboxes but in the "To: " field it does not show their names. e.g To: Im trying to change this so that it does show e.g To: X, Y It works if i have no attatchments and only 1 attatchment then i use the following command. uuencode <filename> <attatch_file_name> | mailx -s <subject> <recipients> does anyone know how i can use the mail command so the recipient names come up when they open their email. much appreciated |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Add -t to the command line:
mail -t <recipients> < filename.mail Cheers, Keith |
||||
| Google The UNIX and Linux Forums |