![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command line/Script to send E-mail with HTML body and binary attachment | G-Man | AIX | 3 | 04-18-2007 09:30 PM |
| Line Count & MAil Issues | Remi | UNIX for Dummies Questions & Answers | 3 | 12-02-2006 11:15 PM |
| command line send mail | ejbrever | UNIX for Dummies Questions & Answers | 1 | 08-29-2006 07:30 PM |
| Mail attatchment line length | brown_b | UNIX for Advanced & Expert Users | 5 | 11-05-2003 11:56 AM |
| E-Mail from command line for UNIX and Perl?? | jy2728 | Shell Programming and Scripting | 4 | 11-26-2002 05:02 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
If mutt is available, that offers a richer set of options, and the ability to sensibly include attachments to the message, with basically the same syntax.
Sendmail works the same way, too, but you need to put the headers in the message yourself. Code:
sendmail -oi -t <<HERE From: user@example.net To: recipient@example.com Subject: AYBABTU All your base are belong to us HERE |
|
||||
|
uuencode only accepts one file at a time, so you may need multiple uuencode commands or a for loop. The first optional parameter is the name of the local file, and the second paramater is the name given to the attachment. They are both assumed to be the same if only one parameter is given.
|
| Sponsored Links | ||
|
|