Mailx and Elm


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Answers to Frequently Asked Questions How do I send email? Mailx and Elm
# 1  
Old 12-13-2000
I am trying to send mail from Unix (HP9000) to Exchange mail system. I need to send the file as an attachment. I am using uuencode to encode file as ASCII, but can't seem to get to over to Exchange as an attachment. I have tried both elm and mailx. I know I've done this before, but can't remember how??? Need some help....
# 2  
Old 12-13-2000
What, specifically, is the problem? In other words, what happens when you try it using elm? Using mailx? Error messages, mail bounces?
# 3  
Old 12-13-2000
Mailx/Elm

When sending the file via mailx, I receive NO errors. It's just the file is NOT received as an attachment. Instead, the uuencode file is part of the body of the email. The synatx I'm using is mailx -s "Subject" email@xxx.com < uuencode_file.
# 4  
Old 12-13-2000
The syntax:

Code:
mailx -s "Subject" email@xxx.com < uuencode_file

has no flags to tell the mailer to send the file as an attachment and sends the file as message text. This is the normal behavior of both elm and mailx. Sending attachments is a MIME function, so you must set the MIME-type in the message header to make this work.
# 5  
Old 12-13-2000
You can try the following command -
mpack -s 'subject' file emailaddress
This sends a text file as an attachment.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Solaris

How to send a mail using elm in cc list?

Can any one tell me how to use elm to send mail using CC list with command line ? I need to write script to send mail to TO list as well as CC list Not using elm editor. Regards, Venkat (0 Replies)
Discussion started by: svenkatareddy
0 Replies

2. Shell Programming and Scripting

How to send a mail using elm in cc list?

Can any one tell me how to use elm to send mail using CC list with command line ? I need to write script to send mail to TO list as well as CC list Not using elm editor. Regards, Venkat (0 Replies)
Discussion started by: svenkatareddy
0 Replies

3. Shell Programming and Scripting

Email in Ksh using elm

I have a txt file which contains the following details. email address date other email address date other from this i want to take each email address and send mail with a message and put the date in the message ( in some specific place ). need to send mails one by one marking... (2 Replies)
Discussion started by: srikanth78
2 Replies

4. UNIX for Dummies Questions & Answers

elm command in unix

I have written a select statement using html flags and i am sending the output to logfile. I using elm to send the outfile in HTML format . elm -s "ESS Monthly Performance Report" "${alert_list}" (1 Reply)
Discussion started by: JosephGerard
1 Replies

5. UNIX for Dummies Questions & Answers

Mailx and Elm

I am trying to send mail from Unix (HP9000) to Exchange mail system. I need to send the file as an attachment. I am using uuencode to encode file as ASCII, but can't seem to get to over to Exchange as an attachment. I have tried both elm and mailx. I know I've done this before, but can't remember... (4 Replies)
Discussion started by:
4 Replies
Login or Register to Ask a Question