Sponsored Content
Full Discussion: Mailx and Elm
Top Forums UNIX for Beginners Questions & Answers Answers to Frequently Asked Questions How do I send email? Mailx and Elm Post 553 by Deepali Potnis on Wednesday 13th of December 2000 02:17:18 PM
Old 12-13-2000
You can try the following command -
mpack -s 'subject' file emailaddress
This sends a text file as an attachment.
 

5 More Discussions You Might Find Interesting

1. 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

2. 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

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. 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

5. 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
MHMAIL(1)                                                            [nmh-1.5]                                                           MHMAIL(1)

NAME
mhmail - send or read mail SYNOPSIS
mhmail [addrs ...] [-body text] [-cc addrs ...] [-from addr] [-subject subject] [-version] [-help] DESCRIPTION
mhmail is intended as a replacement for the standard Berkeley mail program (mail or mailx), which is compatible with nmh. This program is intended for the use of programs such as cron, which expect to send mail automatically to various users. It is also used by various nmh commands to mail various error notifications. Although mhmail can be used interactively, it is recommended that comp and send be used instead to send messages. When invoked without arguments, it simply invokes inc to incorporate new messages from the user's maildrop. When one or more users is specified, a message is read from the standard input and spooled to a temporary file. mhmail then invokes post with the name of the tempo- rary file as its argument to deliver the message to the specified user. The -subject subject switch can be used to specify the "Subject:" field of the message. By default, mhmail will read the message to be sent from the standard input. You can specify the text of the message at the command line with the -body text switch. If the standard input has zero length, mhmail will not send the message. You can use the switch -body "" to force an empty message. Normally, addresses appearing as arguments are put in the "To:" field. If the -cc switch is used, all addresses following it are placed in the "cc:" field. By using -from addr, you can specify the "From:" header of the draft. Naturally, post will fill-in the "Sender:" header correctly. FILES
/usr/bin/mh/inc Program to incorporate maildrop into folder /usr/lib/mh/post Program to deliver a message /tmp/mhmail* Temporary copy of message SEE ALSO
inc(1), post(8) DEFAULTS
None CONTEXT
If inc is invoked, then inc's context changes occur. MH.6.8 11 June 2012 MHMAIL(1)
All times are GMT -4. The time now is 05:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy