Dear All:
I want to send a message to a list of people with a subject and an attachement, currently I am using the following command into a shell script:
uuencode $FILENAME.gz $FILENAME.gz | mail john.kennedy@mycompany.com m.m@mycompany.com
With this command I can send the message for a... (1 Reply)
Hi
Can somebody help me in wirting shell script in the following way.Desperately i have poseted this..
1.How can I connect to Oracle(Sqlplus) from UNIX.
2.After connecting to it I have to execute an oracle proceudure..
3.Execution of the procedure will give some set of rows..
4.The set of... (6 Replies)
Hi all,
I am a newbie to unix.
I need to send an email with an attachment in unix to some id like abc@some_company.com
Code i have used is
------------Code---------------------------
#!/bin/ksh
set -x
#set -n
#cript: unix_mail_withattachments.ksh
# Aurthor: Ravin Maharaj
#... (1 Reply)
Hi all,
i am working with CSH, i want to know that
how to send a mail in UNIX shell script (CSH) with attachment as well as message body.
i know that how to send a mail with attachment and message body. but i want know both things in a single mail
Suggession would be appreciate.
... (1 Reply)
Hi All,
I have general query that ...in my script i used uuencode
option like below.
cd /location
(cat test.txt
uuencode test.csv test.csv ) | mail -s "test mail" "mail_id"
but whenever i run the above command its giving error like below
./testscript.sh: uuencode not found:
... (1 Reply)
Can't attach text files to 'mail' command. I dont have mutt or mailx to use on my server. so i have to use mail command
any help would be great.
Regards,
Kiran (1 Reply)
Hi ,
I am using the below code to send mail through a script which run as a cron job.
msgdate=`date +"%a, %e %Y %T %z"`
daemail=$(cat <<!
From: $from
To: $emailtarget
Subject: $subject
Mime-Version: 1.0
Content-Type: multipart/mixed;
Content-Disposition: inline
$priority
$CONTENT
!)... (2 Replies)
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
LEARN ABOUT DEBIAN
modbus_reply_exception
MODBUS_REPLY_EXCEPTI(3) Libmodbus Manual MODBUS_REPLY_EXCEPTI(3)NAME
modbus_reply_exception - send an exception reponse
SYNOPSIS
*int modbus_reply_exception(modbus_t *ctx, const uint8_t *req, unsigned int exception_code);
DESCRIPTION
The modbus_reply_exception() function shall send an exception response based on the exception_code in argument.
The libmodbus provides the following exception codes:
o MODBUS_EXCEPTION_ILLEGAL_FUNCTION (1)
o MODBUS_EXCEPTION_ILLEGAL_DATA_ADDRESS (2)
o MODBUS_EXCEPTION_ILLEGAL_DATA_VALUE (3)
o MODBUS_EXCEPTION_SLAVE_OR_SERVER_FAILURE (4)
o MODBUS_EXCEPTION_ACKNOWLEDGE (5)
o MODBUS_EXCEPTION_SLAVE_OR_SERVER_BUSY (6)
o MODBUS_EXCEPTION_NEGATIVE_ACKNOWLEDGE (7)
o MODBUS_EXCEPTION_MEMORY_PARITY (8)
o MODBUS_EXCEPTION_NOT_DEFINED (9)
o MODBUS_EXCEPTION_GATEWAY_PATH (10)
o MODBUS_EXCEPTION_GATEWAY_TARGET (11)
The initial request req is required to build a valid response.
RETURN VALUE
The modbus_reply_exception() function shall return the length of the response sent if successful. Otherwise it shall return -1 and set
errno.
ERRORS
EINVAL
The exception code is invalid
SEE ALSO modbus_reply(3)libmodbus(7)AUTHORS
The libmodbus documentation was written by Stephane Raimbault <stephane.raimbault@gmail.com[1]>
NOTES
1. stephane.raimbault@gmail.com
mailto:stephane.raimbault@gmail.com
libmodbus 3.0.3 05/26/2012 MODBUS_REPLY_EXCEPTI(3)