05-12-2010
I tried after adding semicolon(
to the code but still not working and getting 1 mail attachment and Junk data
My question, does AIX support sending multiple attachments in e-mail... ??
10 More Discussions You Might Find Interesting
1. Answers to Frequently Asked Questions
how can you send multiple attachments in 1 email, usually I just use uuencode to send 1 attachment.
thanks (5 Replies)
Discussion started by: edog
5 Replies
2. How do I send email?
how can you send multiple attachments in 1 email, usually I just use uuencode to send 1 attachment.
thanks (5 Replies)
Discussion started by: edog
5 Replies
3. UNIX for Advanced & Expert Users
Hi
Can some one tell me how to send a mail with body and file attached in a shell sript, in HP-UX Release 11i.
i did code in AIX and it works fine but i guess here in HP-UX release.. there's some syntax change which i;m not able to make out..
TIA,
Ronnie (1 Reply)
Discussion started by: rosh0623
1 Replies
4. Shell Programming and Scripting
Hi people, I am new to this forums. I have a quick question I hope one of you could help me with. I am writing a script to send attachments via email. However I am having trouble when trying to send multiple attachments. Here is the code I am using:
send_mail()
{
uuencode $TMP $TMP1 > $TMP1... (1 Reply)
Discussion started by: deo2k8
1 Replies
5. AIX
I'm trying to send a mailx with an attachment, really I have not do it in a long time. I forgot (3 Replies)
Discussion started by: darioa
3 Replies
6. AIX
Hi,
I want to mail a log from my IBM AIX 5.3 server to my windows mailbox in my company every month.
Any ideas what the command would be?
Do I need to set any smtp settings?
Thanks (2 Replies)
Discussion started by: jfd7000
2 Replies
7. Shell Programming and Scripting
Hi everyone...
I am facing problem with the multiple mail attachments.
cd /work/mohan/pi_log/
mail_file='uuencode ahmedabad.csv ahmedabad.csv ; uuencode ahmedabad_devrpt_20110530.csv ahmedabad_devrpt_20110530.csv'
( $mail_file ) | mailx -m -s"test" domain@website.com
its giving me error... (1 Reply)
Discussion started by: mohanm
1 Replies
8. Shell Programming and Scripting
I am trying to attach multiple files using mutt command, and all file names to be attached are taken from a flat file. and mutt command is called from a bash script when :
1. Script execution is completed.
2. Script execution is interrupted for some reason.
... (8 Replies)
Discussion started by: Shaishav Shah
8 Replies
9. Shell Programming and Scripting
Need assistance in using the below script and having multiple png file attachments in the same script . Your inputs are appreciated. I dont have uuencode , I use either mailx, sendmail, mpack .
( echo "to: samplemail@somewhere.com"
echo "from: samplemail@elsewhere.com"
echo "subject:... (2 Replies)
Discussion started by: ajayram_arya
2 Replies
10. UNIX for Advanced & Expert Users
Hello All,
Is there a way to read/view email attachments in AIX?
Here's my scenario; I have users that will being scanning documents for digital storage. To make it easier for the users, I would like for them to scan and email the pdf version of the document directly to one of my AIX... (3 Replies)
Discussion started by: bbbngowc
3 Replies
LEARN ABOUT FREEBSD
atf-sh
ATF-SH(1) BSD General Commands Manual ATF-SH(1)
NAME
atf-sh [-s shell] -- interpreter for shell-based test programs
SYNOPSIS
atf-sh script
DESCRIPTION
atf-sh is an interpreter that runs the test program given in script after loading the atf-sh(3) library.
atf-sh is not a real interpreter though: it is just a wrapper around the system-wide shell defined by ATF_SHELL. atf-sh executes the inter-
preter, loads the atf-sh(3) library and then runs the script. You must consider atf-sh to be a POSIX shell by default and thus should not
use any non-standard extensions.
The following options are available:
-s shell Specifies the shell to use instead of the value provided by ATF_SHELL.
ENVIRONMENT
ATF_LIBEXECDIR Overrides the builtin directory where atf-sh is located. Should not be overridden other than for testing purposes.
ATF_PKGDATADIR Overrides the builtin directory where libatf-sh.subr is located. Should not be overridden other than for testing purposes.
ATF_SHELL Path to the system shell to be used in the generated scripts. Scripts must not rely on this variable being set to select a
specific interpreter.
EXAMPLES
Scripts using atf-sh(3) should start with:
#! /usr/bin/env atf-sh
Alternatively, if you want to explicitly choose a shell interpreter, you cannot rely on env(1) to find atf-sh. Instead, you have to hardcode
the path to atf-sh in the script and then use the -s option afterwards as a single parameter:
#! /path/to/bin/atf-sh -s/bin/bash
ENVIRONMENT
ATF_SHELL Path to the system shell to be used in the generated scripts.
SEE ALSO
atf-sh(3)
BSD
September 27, 2014 BSD