Sponsored Content
Full Discussion: Issue with mail attachment
Top Forums Shell Programming and Scripting Issue with mail attachment Post 302331577 by arunsoman80 on Monday 6th of July 2009 03:10:27 PM
Old 07-06-2009
Question Issue with mail attachment

Hi Unix Gurus,

Need your help regarding a weird issue that I'm facing. I have an automated unix script that sends out PGP encrypted reports/feeds to our users as mail attahments. Every thing has been going well and all the users have no issues except one, who instead of getting the attachment, gets some scrambled text as message body.

The mailx command I use is as follows after setting appropriate values for the variables:
Code:
uuencode "${scriptDir}/${outFileName}" "${outFileName}" | mailx -r ${sendersMailId} -s "${subjectLine}" ${emailAddresses}

The users' mail looks as follows:
Code:
begin 644
test.xls.pgp
MA0(. TYTGI40$<@I$ @ DMV12\R**?G(LVR[B
^KKP:Y6??5J$D$/7*=AS>/
M.0N@XF#XM7A,% [X]E)-+T+2:]4[2M
*1U+HV>$C"('4CM]',T+MZFZ>IU(7
MUG#O2]&:K5\*V?'XER;
%@4M5?:XBO2'<_D"VM5X)>1-T3_1<A3TA?D&^"'N
MRON(7:L$A"8%R
93)*1RMDTY
DMJ486BH<GA,OO0J3Y>\,#.!E2N@U_*ZPK?+=$+5_I$.G9\Q;
 
end

All the other recepients in the same command (variable emailAddresses) are getting the mail with proper attachment. My guess is that some thing is wrong with the end users mail server setup.

Was wondering if anyone of you ever faced such an issue and if yes, how you fixed it?

regards,
Arun.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

mail with attachment

Hi, I am facing an issue while sending a mail from unix with attachment.the issue is i am able to send a mail with attachment but...after receiving the mail if u see that the text is continous though it was line by line in original.. UUENCODE is the cmd i am using... plz help me in this... (1 Reply)
Discussion started by: param786
1 Replies

2. UNIX for Advanced & Expert Users

mailx commannd - Mail and Attachment in same mail

Hi , I am using mailx command for sending the mails. Rightnow I am sending the attachment (by using uuencode $filename) as a seperate mail.I wanna send the attachment also with the same mail. (6 Replies)
Discussion started by: sharif
6 Replies

3. UNIX for Dummies Questions & Answers

Issue on sending a mail with attachment using unix script ?

Issue on sending a mail with attachment using unix script ? Below is my code and is working fine and there is a issue in the attachment, the attachment file printing as a text-encripted message in the mail draft box instead of putting as a attachment (cat $msg; uuencode $attach1 in1.txt ;... (2 Replies)
Discussion started by: gksenthilkumar
2 Replies

4. Shell Programming and Scripting

Mail attachment with unix mail

Hi Could someone help me with the details on how to send an attachment through mail in unix. I have an html file in my unix machine and I want this to be send to some mail id, plese help with the steps. Regards Ajay (2 Replies)
Discussion started by: ajaykumarboyana
2 Replies

5. UNIX for Dummies Questions & Answers

How to send html file in a mail not as an attachment but it should display in the mail in table for

Hi The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment . cat Employee.sql SET VERIFY OFF SET PAGESIZE 200 SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON - HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies

6. Shell Programming and Scripting

Mail Attachment...

Hi All, I am new to unix. I have written the script to identify the delimiter count for my source file and the output I have to capture in another file and that file should sent to mail with attachment. I have tried to send the attachment with below script . But I am not able to do that. Any... (2 Replies)
Discussion started by: suresh_target
2 Replies

7. Shell Programming and Scripting

Getting mail with no Attachment

Hi All, my requirement send a mail with attachment a abc.txt file. below is the shell script. #!/usr/bin/ksh set -x #DIR=/appldata/download/mail MAILTO="krupa.behera@kk.com" SUBJECT="Report" BODY="Hi All," ATTACH=/projects/psoft/hrdw/pushreports/crons/temp_out... (5 Replies)
Discussion started by: krupasindhu18
5 Replies

8. Shell Programming and Scripting

Mail attachment

Hi, I want to send an attachment and content in a single mail using unix command can anyone pls help me? Thanks Naveen A (6 Replies)
Discussion started by: Pranaveen
6 Replies

9. Shell Programming and Scripting

Common Issue: Table to be displayed in mail content and not as an attachment

The requirement is to send a report from an UNIX server. I have a list of data to be shown on the report, say from database. I am using sendexchange to send mail and it always send in plain text fromat and the data displayed are not aligned properly. I have seperated all the columns with fixed... (14 Replies)
Discussion started by: PikK45
14 Replies
CLAWS-MAIL-PGPINLI(1)					    CLAWS-MAIL-PGPINLINE Manual 				     CLAWS-MAIL-PGPINLI(1)

NAME
claws-mail-pgpinline - Handling of PGP/Inline signed and/or encrypted mails. DESCRIPTION
This manual page documents briefly the claws-mail-pgpinline plugin. This manual page was written for the Debian distribution because the original program does not have a manual page. claws-mail-pgpinline is a plugin (loadable module) for the Claws Mail mailer. This plugin allows decrypting mails, verifying signatures and sign or encrypt your own mails using PGP/Inline. It requires GnuPG and GPGME. Notice this method for signing or encryption is deprecated and you probably should be using PGP/MIME, but it is still provided for compatibility with user agents which are unable to handle the 10-year old PGP/MIME standard (being Outlook from Windows platform the most noticeable example). USAGE
Before using a plugin you must instruct Claws Mail to load it on startup. For this you must go "Configuration" menu on main window toolbar, open "Plugins..." dialog, click on the "Load plugin..." button and select the plugin file, named pgpinline.so, and press the "Open" button. FILES
/usr/lib/claws-mail/plugins/pgpinline.so The loadable module for claws-mail-pgpinline. ~/.gnupg/gpg.conf Configuration file for GnuPG, read man gpg for details. BUGS
Please use reportbug claws-mail-pgpinline for reporting Debian bugs for this package. The upstream BTS can be found at http://www.thewildbeast.co.uk/claws-mail/bugzilla/index.cgi. SEE ALSO
claws-mail(1), claws-mail-extra-plugins(1), claws-mail-pgpmime(1), gpg(1) AUTHORS
The Claws Mail Team <theteam@claws-mail.org> Wrote the claws-mail-pgpinline plugin. Ricardo Mones <mones@debian.org> Wrote this manpage for the Debian system. COPYRIGHT
Copyright (C) 2008 Ricardo Mones This manual page was written for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at your option) any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. claws-mail-pgpinline September, 2008 CLAWS-MAIL-PGPINLI(1)
All times are GMT -4. The time now is 05:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy