I apoligize for the cross-post but I'm not getting much in the way of help in the dummies forum:
I'm trying to script sending an e-mail message on an AIX 5.x server with the following requirements:
1. command line switch to specify file name containing message body in HTML format
2. command... (3 Replies)
Hello,
I need a shell script which need to send a mail with 4 *.csv files as attachments.Anybody can help me?
At present i have a script which is sending only one file as attachments.But i need a script which send 4 files in a shot.
#!/bin/ksh
/bin/mail xxxx@xx.xom << EOF
Subject:... (4 Replies)
hi,
i have the code as below
#!/bin/sh
MAIL=/usr/bin/Mail
Mail_addr="aaa@bb.com"
Mail_file="/home/delta/dev/aa.doc"
${MAIL} -s " health check" ${Mail_addr} < ${Mail_file} (6 Replies)
Hi,
I have the below code for sending email from AIX unix.
I need the body of the mail should content of errornotify.txt file. i tested with cat errornotify.txt, it is not working...Also i need multiple attachments.
Can you please help me out on this.
(
echo "From:cus@xxx.xx.com"
echo... (3 Replies)
Hi i created a cron job which invoke a shell script and output some content via email.
Some times these output are sent to the junk email folder. i want these mails to be sent to inbox with some specific font. what i have to do? (4 Replies)
Dear All,
Would some one help me with this to send a file as attachment in a mail using a script without uuencode...
I am working on AIX 6.1, the thing is I dont have uuencode available... Is there any other alternate possible way to send file attachment with the mail without using uuencode... (11 Replies)
I get a different output when i manually run the .sh script and when it is run by a cron job. Please help me ..
TMP1="/lhome/bbuser/script/wslog/sar.t1"
TMP2="/lhome/bbuser/script/wslog/sar.t2"
TMP3="/lhome/bbuser/script/wslog/sar.t3"
OUTPUT="/lhome/bbuser/script/wslog/sar.out"... (8 Replies)
Hi Guys,
I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
LEARN ABOUT HPUX
fastmail
fastmail(1) General Commands Manual fastmail(1)NAME
fastmail - quick batch mail interface
SYNOPSIS
bcc-list] cc-list] comments] from-name]
from-addr] in-reply-to] reply-to] references]
subject] filename address-list
DESCRIPTION
The command is a simple interface to the mail system that allows you to send a message without the overhead of an interactive mailer. It
is particularly efficient in batch-processing mail to very large groups of people.
All addresses should be full e-mail addresses, aliases in the file, or local login names.
Options
recognizes the following options:
Include a header entry. Send blind carbon copies to the comma-separated list of addresses in bcc-list.
Include a header entry. Send carbon copies to the comma-separated list of addresses in cc-list.
Include a header entry with the string value comments.
Debug. Display information on processing steps.
Replace the user name in the
header entry with from-name.
If the user is and the user name is then the default line is:
The option changes it to:
Replace the address in the
header entry with from-addr. In the example above, changes the original entry to
Include the header entry with the string value in-reply-to. This is usually used to identify a message that you are replying to.
Include the header entry with the single address given in replyto. This is the address where replies will usually be sent,
instead of to the address given in the header entry, very common with mailing lists.
Include a header entry containing the string value references.
Include a header entry containing the value subject. If this option is omitted, the message is sent without a subject entry.
Operands
recognizes the following operands:
address-list A list of one or more blank-separated addresses for the header line. These are the principal recipients of the mes-
sage.
filename Either the name of a file containing the message, or a dash to read from standard input.
EXAMPLES
A Fully Specified Command
This command has every option specified.
The online execution displays the following debug messages:
The received message has the following relevant header entries:
The header entry is not transmitted.
A Batch Process
Suppose you are user on machine and you have a shell script named that contains the following lines:
The command:
would mail a copy of the file to and staggered ten seconds apart.
would also silently receive a copy of the first message in the mail. Each resultant message would include the header lines:
FILES
aliases file.
Mail transport agent.
Temporary file.
AUTHOR
was developed by HP.
SEE ALSO elm(1), sendmail(1M).
RFC 822 "Standard for the Format of Internet Text Messages"
fastmail(1)