11-26-2008
I have tried using
(cat $msg; uuencode $attach1 in1.txt ; uuencode $attach2 in2.txt ) | mailx -m -r "subject"
mail_addr@domain.com
and its working fine now...
Thanks!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there any way we can send file attachemnts through mails from a unix server. Does the 'mail' command have such an option ?? (1 Reply)
Discussion started by: Rohini Vijay
1 Replies
2. UNIX for Dummies Questions & Answers
Hi people
Can u help me aorund on this
cat $DISTRIBUTION_LIST | tail -1 | read mailtolist
test -s $INOVOICES.dat
if
then
echo " Sales Report generted" | read subject
mailx -ms "${subject}." $mailtolist
RET_CODE=$?
if ; then
echo "Messaging Failed." >> $LOG_FILE
exit 1
fi
else... (2 Replies)
Discussion started by: bobprabhu
2 Replies
3. Shell Programming and Scripting
Hi, I need to send a email as a txt file and i used the commands,
(echo `echo $EMAIL_MSG` ; uuencode "file.txt" "file.txt" ) | mailx -s "$EMAIL_SUBJECT" "$EMAIL_ID"
I received email with a attachment with all data but i get all of them in one row.
For example:
If file.txt contains value... (1 Reply)
Discussion started by: skcvasanth
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
I am using Sun solaris OS unix server
I am trying to send mail with an attachment using below script
cat test.txt;uuencode test.txt test.txt|mailx -s "$subject" someone@somewhere
I m getting mails but with no attachment.
Hence i manipulate the script as below and i am... (2 Replies)
Discussion started by: sv0081493
2 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
In my .ksh script, I am sending an email with body and attachment (.txt) using sendmail command. I am able to receive the attachement along with the body of the mail. But I am getting special characters along with the content in the .txt. Also the alignment is incorrect. Can you please... (7 Replies)
Discussion started by: KRR
7 Replies
6. Shell Programming and Scripting
Hi Team,
I have written the following code snippet to send mail with attachment to recipient. But I am getting mail with attachment. But the file is empty. All the 3 Attachment* size is more than 80KB.
Not sure what is wrong in the command.
MSG_BODY1="hi"
LOG_FILE="a/b/c/log1.log"... (2 Replies)
Discussion started by: kmanivan82
2 Replies
7. Shell Programming and Scripting
Hi Everyone,
I am facing problems in sending html mail with attachemnt.
I will able to send mail with attachment (plain text ) using mailx -s and uuencode command and
also html mail without attachment using sendmail option.
However I am not able to send html mail along with attachment.Either... (2 Replies)
Discussion started by: karthik adiga
2 Replies
8. How to Post in the The UNIX and Linux Forums
How to Send a mail with multiple attachment also differenet extension using uuencode in AIX.
Can you please help me. Its so urgent.
Thanks.
Regards,
Swapnil
---------- Post updated at 05:37 AM ---------- Previous update was at 05:35 AM ----------
I have below code. But attachment... (1 Reply)
Discussion started by: Swapnil Mawle
1 Replies
9. Shell Programming and Scripting
How to Send a mail with multiple attachment also differenet extension using uuencode in AIX.
Can you please help me.
---------------------------------------------------------
I have below code. But attachment not been attached.
(cat /aceapp/QATD011R4/ace.ofac/testofac/results/;uuencode... (9 Replies)
Discussion started by: Swapnil Mawle
9 Replies
10. Shell Programming and Scripting
Hello every one.
I use mutt :
"mpack -s "Test" /home/pi/Pictures/2018-10-05_23_10_40.jpg my_email_addres "
to send me a particular picture with the name of the data+jpg in a pictures folder, but this folder I use it for a timelapse proyect with more pictures , and what I need is... (2 Replies)
Discussion started by: maxbcn
2 Replies
LEARN ABOUT DEBIAN
mojomojo::controller::attachment
MojoMojo::Controller::Attachment(3pm) User Contributed Perl Documentation MojoMojo::Controller::Attachment(3pm)
NAME
MojoMojo::Controller::Attachment - Attachment controller
DESCRIPTION
MojoMojo supports attaching files to nodes. This controller handles administration and serving of these assets.
ACTIONS
auth
Return whether the current user has attachment manipulation rights (upload/delete).
unauthorized
Private action to return a 403 with an explanatory template.
default
Private action to return a 404 not found page.
attachments
Main attachment screen. Handles uploading of new attachments.
list
Display the list of attachments if the user has view permissions.
template: attachments/list.tt
plain_upload
Upload feature that uses the traditional upload technique.
check_file
Check if the file(s) uploaded could be added to the Attachment table.
flash_upload
Upload feature that uses flash
attachment
Find and stash an attachment.
defaultaction
Set the default action for an attachment which is forwarding to a view.
view
Render the attachment in the browser ("Content-Disposition: inline"), with caching for 1 day.
download
Forwards to "view" then forces the attachment to be downloaded ("Content-Disposition: attachment") and disables caching.
thumb
Thumb action for attachments. Makes 100x100px thumbnails.
inline
Show 800x600 inline versions of photo attachments.
delete
Delete the attachment from this node. Will leave the original file on the file system but delete its thumbnail and inline versions.
AUTHOR
Marcus Ramberg "marcus@nordaaker.com"
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2010-05-23 MojoMojo::Controller::Attachment(3pm)