Sponsored Content
Full Discussion: Mailx and Elm
Top Forums UNIX for Dummies Questions & Answers Mailx and Elm Post 4426 by Neo on Wednesday 13th of December 2000 01:02:26 PM
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 More Discussions You Might Find Interesting

1. How do I send email?

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
LedgerSMB::Mailer(3pm)					User Contributed Perl Documentation				    LedgerSMB::Mailer(3pm)

NAME
LedgerSMB::Mailer - Mail output for LedgerSMB SYNOPSIS
COPYRIGHT
#==================================================================== # LedgerSMB # Small Medium Business Accounting software # http://www.ledgersmb.org/ # # Copyright (C) 2006 # This work contains copyrighted information from a number of sources # all used with permission. # # This file contains source code included with or based on SQL-Ledger # which # is Copyright Dieter Simader and DWS Systems Inc. 2000-2005 # and licensed under the GNU General Public License version 2 or, at # your option, any later version. For a full list including contact # information of contributors, maintainers, and copyright holders, # see the CONTRIBUTORS file. # # Original Copyright Notice from SQL-Ledger 2.6.17 (before the fork): # Copyright (C) 2002 # # Author: DWS Systems Inc. # Web: http://www.sql-ledger.org # # Contributors: # # Original Author and copyright holder: # Dieter Simader dsmimader@sql-ledger.com #==================================================================== METHODS
LedgerSMB::Mailer->new(...) Create a new Mailer object. If any arguments are passed in, a message that uses them will be automatically prepared but not sent. $mail->prepare_message(to => $to, from => $from, ...) Prepares and encodes base message for sending or adding attachments. Arguments to, from, cc, bcc Address fields for the email. subject The subject for the email. message The message body for the email. contenttype The conttent type for the body of the message, not for any attachments. notify Sets the Disposition-Notification-To header (read receipt request) for the message. This header will only be added if a from address is set. $mail->attach(data => $data, file => $file, filename => $name, strip => $strip) Add an attachment to the prepared message. If $data is specified, use the value of that variable as the attachment value, otherwise attach the file given by $file. If both a file and data are given, the data is attached. filename must be given and is used to name the attachment. $strip is an optional string to remove from the filename send with the attachment. $mail->send Sends a prepared message using the method configured in ledgersmb.conf. perl v5.14.2 2012-03-26 LedgerSMB::Mailer(3pm)
All times are GMT -4. The time now is 02:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy