![]() |
|
|
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 10: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 08: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 |
|
|
|
||||
|
uuencode is very convenient though... is there an equally convenient way to add MIME attachments? I know you can do the encoding with openssl enc -e -base64, for example, but then you have to generate the MIME headers and so-forth, right?
|
|
||||
|
The FAQ has a script for properly formatting MIME attachments. The metamail package has a set of tools for base64 encoding and decoding as well as a slew of other MIME utilities (many of which are not very useful or convenient in the modern world, I have to add). The headers are not immensely complex or anything, but you do have to know a little bit about what you are doing if you construct a MIME structure by hand. The Perl MIME::Lite library is a nice front end for this, if you're into Perl.
|
|
||||
|
Which MTA (mail transmission agent?) are you running... is it sendmail? If so, does mailq list a bunch of emails which are queued to be delivered?
What operating system are you using exactly? The way to correctly configure your email gateway differs from one operating system to another, and between Linux distributions. |
|
||||
|
Does "it didn't worked" mean you got command not found or that it looked like it sent a message, but you never received it? You really need to be a bit more specific.
(Annihilannic: it's Mail Transport Agent fwiw.) |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|