![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with multiple excel attachments using mailx | ramanam2004 | UNIX for Advanced & Expert Users | 2 | 05-04-2006 02:07 AM |
| Using mailx to send email to multiple users. | priyaksingh | Shell Programming and Scripting | 4 | 02-21-2006 01:37 AM |
| mailx error message : mailx: NUL changed to @ | BG_JrAdmin | UNIX for Dummies Questions & Answers | 2 | 12-01-2005 10:27 AM |
| Multiple File Attachment Using Mailx | pnathani | UNIX for Dummies Questions & Answers | 3 | 03-29-2005 10:03 PM |
| mail to multiple recipients | peter.herlihy | UNIX for Dummies Questions & Answers | 5 | 02-19-2002 08:47 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
using mailx with multiple recipients
I am trying to use a file containing email addresses in my mailx command like the following:
SUBJECT="Kronos User Report" BODY="kronos.txt" MAILTO="kronosmail.txt" mailx -s "$SUBJECT" $MAILTO < $BODY This works fine for the body of the message but for the recipient it says: kronosmail.txt... User unknown Right now I have a single email address in the knonosmail file but it will grow, that is why I am using the file instead of hardcoding it in the script. I have tried variations of quotation marks to no avail. Please advise. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|