The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
A utility for sending complex email messages from the command line iBot UNIX and Linux RSS News 0 06-06-2008 01:50 AM
Command line/Script to send E-mail with HTML body and binary attachment G-Man AIX 3 04-18-2007 06:30 PM
use email subject line as shell command mskarica UNIX for Advanced & Expert Users 4 01-31-2005 08:23 PM
Email Attachment Cyro UNIX for Dummies Questions & Answers 2 11-10-2003 06:24 AM
Email Attachment prasad01 UNIX for Dummies Questions & Answers 2 08-07-2003 11:43 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-04-2002
Registered User
 

Join Date: Apr 2002
Posts: 7
Question create email w/ ASCII attachment via command-line

All,

I need to email an ASCII data file to a business partner, and intended on creating a Korn Shell script to create an email message (minimal text), and attach the ASCII data file to the email.

It seems this is not as easy as I had thought it might be. sendmail does not support attachments, and the Unix Admins said we did not have a utility that can handle sending attachments (via command-line) in our Solaris 8 world (OS 5.8).

The Unix Admins indicated they might be able to install something from a source such as GNU, as long as it's a trusted source.

Any (free/robust) utilities come to mind that can handle the command-line email attachment??

(Note, I am experiemtning w/ redirecting the ASCII data as the 'body' of the email, but, our company disclaimer is appended to all out-going emails...not sure if our partner will accept this - or if they'd even accept the data as the body of the email)

TIA
Forum Sponsor
  #2 (permalink)  
Old 04-04-2002
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,354
See this thread.
  #3 (permalink)  
Old 04-05-2002
Registered User
 

Join Date: Apr 2002
Posts: 7
Wow. That works like a champ.

Thanks!
  #4 (permalink)  
Old 04-05-2002
Kelam_Magnus's Avatar
Unix does a body good.
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
ELM does also

ELM is a great utility, but some people have problem with getting their companies to buy/install it.

That script is great I have used it several times since copying it last week.

This script is simpler to use than ELM is as well. So I like it even more. With ELM I always had to copy in the attachment while in the program or I guess you can do it from the command line as well, but I never used that functionality.

__________________
My brain is your brain
Google UNIX.COM
Closed Thread

« tar | Ntp Server »
Thread Tools
Display Modes




All times are GMT -7. The time now is 07:52 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0