Sponsored Content
Top Forums Shell Programming and Scripting Problem with Mailx command to send mail with attachment Post 302254792 by viswanatharv on Wednesday 5th of November 2008 07:00:50 AM
Old 11-05-2008
Hi,

After running my program If I check the mail in scalix, I am getting no extra files (ATT*).

But If I check same mail in MS Outlook 2003 it is attaching extra file (ATT*), which contain the `end characters.

I am using LINUX Server. Below is the server details.

$uname -a
Linux server1 2.6.9-42.7.ELsmp #1 SMP Tue Sep 5 18:25:41 EDT 2006 x86_64

Thanks
Viswanath
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem with mailx command when sending attachment.

Hi, I have tried to sent a mail with body and attachment. But the shell script got hanging while executing that command. The command is "(cat body;uuencode att1.csv)|mailx -s "Production Monitoring Report(Unix Side)" milton.yesusundaram@patni.com" where body is a file having a single line.... (2 Replies)
Discussion started by: miltony
2 Replies

2. UNIX for Dummies Questions & Answers

Unable to send e-mail using mailx command

Hi All, Can you please help me in solving this. I am facing some problem sending mails. If I use like this, I am able to send mail the mail echo "This is an automated e-mail; please do not reply." | mailx -s "Good Morning ." 'abc@xys.com' But if I use like this, then I am unable to send... (1 Reply)
Discussion started by: manas6
1 Replies

3. UNIX for Advanced & Expert Users

how to send file as attachment using mail or mailx

I have a need to send a file from the unix command line to be sent as an attachment. Is this possible? That is when I open my outlook email I need to file to appear as an attachment. Also, is there a way to use the mail binary (not mailx) to modify the "reply address". mailx -r works but I need... (1 Reply)
Discussion started by: kieranfoley
1 Replies

4. Shell Programming and Scripting

Mailx: How to send a attachment using mailx command

Hi All, Can anyone please provide the command for sending an mail with attachment using mailx command. Thanks in Advance :) Regards, Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies

5. Shell Programming and Scripting

send attachment and body in one mail using mailx

Hi, Our requirement is to send an attachment and content in a single mail. I am using the below command to send attachement. --------------------- (uuencode $exp_file $exp_file) |mailx -s "$email_subject" $EmailRecipients -------------------- I m not able to send any message in the... (4 Replies)
Discussion started by: ashwin3086
4 Replies

6. Shell Programming and Scripting

want to send .csv file as an attachment using mailx command.

want to send .csv file as an attachment using mailx command. Please help!!! (1 Reply)
Discussion started by: gagandeep
1 Replies

7. Shell Programming and Scripting

Mailx command - send mail as table format

I have to send a couple of rows that have been returned from a SQL query. I have written the output of the query to a file and while i try to print this in the mail body the formatting goes wrong. Intended Output in mail body: Col1 Col2 Col3 ------ ... (2 Replies)
Discussion started by: qwertyu
2 Replies

8. Shell Programming and Scripting

Not able to send the mail using mail and mailx command

Hi All, I am trying to send a mail from linux server but could'nt able to send the mail. I tried the below syntax's so far but no luck. mail -s “Hello world” abc@xyz.com < /usr/g/txt.log cat "txt.log" | mailx -s "Hello world" abc@xyz.com mailx -s “Hello world” abc@xyz.com <... (2 Replies)
Discussion started by: scriptscript
2 Replies

9. Shell Programming and Scripting

Mailx command to send attachment file

Hi, I need to send a attachment which has space in the file name as: "ABC Data Extract.txt" which is present in the location /home/projects/txt i am using /home/projects/scripts mailx -s "Sub" email_id "/home/projects/txt/ABC Data Extract.txt" but i am not getting the attachment. (7 Replies)
Discussion started by: ATWC
7 Replies

10. UNIX for Dummies Questions & Answers

Unable to send attachment using mailx command

I am unable to send email with attachment using the mailx command. Without the attachment, the email goes through file. This is the command I use. Works : $ echo "Test" | mailx -s "Test" username@website.com Fails : $echo "Test" | mailx -a all-dss-accounts.txt -s "Test"... (3 Replies)
Discussion started by: nkarthik_mnnit
3 Replies
S1MS2DLF.IN(1)						  LogReport's Lire Documentation					    S1MS2DLF.IN(1)

NAME
s1ms2dlf - convert SunONE Messaging Server SMTP log files to the email DLF SYNOPSIS
nms2dlf DESCRIPTION
This program converts a SunONE Messaging Server log file generated by the SMTP service to the Lire email DLF. The log file is expected on stdin, the DLF file is printed to stdout. In order to correctly process the log file, you need to turn on logging of the following channels: FIXME LIMITATIONS
This DLF converter was developed for the SunONE Messaging Server version 5.2. Other versions may or may not work. Contact the LogReport developers if you have problems with that converter. You can find information about the log format used by SunONE Messaging Server at the following URL: http://docs.sun.com/source/816-6009-10/logging.htm CONFIGURING LOGGING OF MAILBOX-DELIVER MODULE We found that there are no logs from the Mailbox-Delivery module by default. In order to fix that problem please make sure you do the following: 1. Go on the SunONE Messaging Server MTA or Message Store 2. Become the Mail Server user (usually this should not be root but typically a user like mailsrv or whatever was defined at installation time, check for the ownership of the files in your message server instance for example) 3. Go to the right location, something like: server-root/msg-instance For example it could be: /opt/sunone/s1ms5/msg-mymailserver 4. Do: TO BE WRITTEN EXAMPLES
To process a log as produced by Netscape Messaging Server $ s1ms2dlf < mail.log s1ms2dlf will be rarely used on its own, but is more likely called by lr_log2report: $ lr_log2report nms < /var/log/mail.log VERSION
$Id: s1ms2dlf.in,v 1.5 2006/07/23 13:16:34 vanbaal Exp $ COPYRIGHT
Copyright (C) 2002 Stichting LogReport Foundation <logreport@LogReport.org> Copyright (C) 2002 Arnaud Taddei Copyright (C) 2002, 2003 Arnaud Gaillard Copyright (C) 2002, 2003 Jean-Yves Monnier This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html. AUTHORS
Francis J. Lacoste <flacoste@logreport.org>, Arnaud Taddei <Arnaud.Taddei@sun.com>, Arnaud Gaillard <arnaud.gaillard@orange.ch> and Jean- Yves Monnier <jean-yves.monnier@sun.com> POD ERRORS
Hey! The above document had some coding errors, which are explained below: Around line 69: You forgot a '=back' before '=head1' Lire 2.1.1 2006-07-23 S1MS2DLF.IN(1)
All times are GMT -4. The time now is 10:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy