![]() |
|
|
|
|
|||||||
| 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 |
| how to send an email with some body content and attachment | balireddy_77 | Shell Programming and Scripting | 2 | 08-20-2008 03:33 AM |
| Command line/Script to send E-mail with HTML body and binary attachment | G-Man | AIX | 3 | 04-18-2007 06:30 PM |
| Send an attachment and html text both in the same mail | stefan.yu | Shell Programming and Scripting | 4 | 10-26-2006 06:46 PM |
| sending mails with attachment and also some text in mail body | guptan | UNIX for Advanced & Expert Users | 7 | 05-25-2006 03:17 AM |
| Send Mail with attachment and a body | manojram | How do I send email? | 4 | 04-26-2004 08:53 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
AIX send mail with HTML message body and a binary attachment
I'm trying to script sending an e-mail message on an AIX 5.x server with the following requirements:
1. command line switch to specify file name containing message body in HTML format 2. command line switch to specify file name of a binary attachment 3. command line or input file to specify recipients (both to:, cc: and bcc 4. command line to specify From: address 5. command line to specify mail subject (subject text may include spaces) I've tried every combination redirecting and piping uuencode and mail/mailx you could ever come up with with no luck. The stumbling block is the HTML message body. Attaching a binary file to a text message body is a no brainer but I have to have the message body in HTML because we are using formatted tables. Any help would be greatly appreciated. Thanks. |
| Forum Sponsor | ||
|
|
| Tags |
| mailx, mailx attachment |
| Thread Tools | |
| Display Modes | |
|
|