Hi,
I have a script that sends a db extract file as an email attachment.
I have a crontab created to run it everyday at 8 am..
00 08 * * * ksh /home/rtaaa/tbasd/report.sh > /home/rtaaa/tbasd/logs/report.log
When i just run the "ksh /home/rtaaa/tbasd/report.sh >... (5 Replies)
I have a oracle sh script test.sh
#!/bin/bash
R=`sqlplus -S *****/*********@dfsdf <<ENDOFSQL
set serveroutput on size unlimited;
execute DBMS_SNAPSHOT.REFRESH( '"MIS_ADMIN"."MV_SURVEY_UNITS_CENSUS"','F');
execute DBMS_SNAPSHOT.REFRESH( '"MIS_ADMIN"."MV_SURVEY_UNITS_CENSUS_PART"','F');... (1 Reply)
Hi,
I am trying to send the contents of a file as email in unix.I am using the below code to do this.But when i get the email i see that SUBJECT and TO is blank. Can you please let me know why it is blank? Also the FROM address comes as admin@myhost. Is there any way i can set FROM to user... (5 Replies)
Hello, system generated emails sent to users from production scripts within Aix arent going out. In the errpt -a output I see:
_______________________________________________________
LABEL: SRC_SVKO
IDENTIFIER: BC3BE5A3
Date/Time: Tue Mar 13 16:28:07 EDT 2012
Sequence... (2 Replies)
Hi,
I have written shell program to send email as below -
#!/bin/ksh
filename=`ls -ltrh *.Z`
echo $filename |mailx -s "FOR TESTING" rahul.b@infotech.net
I am getting the email but email body is -
-rw-rw-r-- 1 bahulra dba 173M Mar 22 04:37 corphist.txt.Z -rw-rw-r-- 1 bahulra dba 107M... (3 Replies)
Discussion started by: rahulbahulekar
3 Replies
6. Forum Support Area for Unregistered Users & Account Problems
Hi Neo/Scott,
I decided to change my email address in my details from my earlier one to the one I got with my VIP membership.
After the change, I got a message that I'll receive an activation link at the new address to re-activate my account.
I haven't got that link till now. Also, all my... (3 Replies)
Hi all,
I have tried to send an email with the below script. but i am not getting the subject of the email where it is present in the simply.txt.
I am using HP UNIX server.
I am not sure what mistake i made in the below unix command. any help would be appreciated.
cat simply.txt ... (2 Replies)
I have a perl that is sending emails in a bad format:
"begin 644 Included.doc
M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ
M*BHJ*BHJ*BHJ*BH*4U5#0T534T953"!-1$XG<R!F;W(@07)C:&EV92!022`M
M($-A;F-E;`HJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ... (1 Reply)
I have written a shell script to send email to users with message body and attachment. Message body has registered symbol. But when I receive the email, registered trademark symbol has a special character prefixed and appears carlington work® whereas I am expecting to see only carlington work® .... (3 Replies)
Hello,
I am facing an issue with email in Linux. I am using mailx command to send email.
When I give invalid domain address then it is taking both sender and recipient as sender email and trying to send email.
Below is my command
echo -e "${EMAIL_TEXT}" | mailx -v -s "${SUBJECT}" -r... (5 Replies)
Discussion started by: yuvi
5 Replies
LEARN ABOUT REDHAT
uuencode
uuencode(n) encode/decoding a binary file uuencode(n)
NAME
uuencode - encode/decoding a binary file
SYNOPSIS
package require Tcl 8
package require uuencode ?1.0.1?
::uuencode::encode string
::uuencode::decode string
::uuencode::uuencode ?-name string? ?-mode octal? (-file filename | ?--? string)
::uuencode::uudecode (-file filename | ?--? string)
DESCRIPTION
This package provides a Tcl-only implementation of the uuencode(1) and uudecode(1) commands. This encoding packs binary data into printable
ASCII characters.
::uuencode::encode string
returns the uuencoded data. This will encode all the data passed in even if this is longer than the uuencode maximum line length. If
the number of input bytes is not a multiple of 3 then additional 0 bytes are added to pad the string.
::uuencode::decode string
Decodes the given encoded data. This will return any padding characters as well and it is the callers responsibility to deal with
handling the actual length of the encoded data. (see uuencode).
::uuencode::uuencode ?-name string? ?-mode octal? (-file filename | ?--? string)
::uuencode::uudecode (-file filename | ?--? string)
UUDecode a file or block of data. A file may contain more than one embedded file so the result is a list where each element is a
three element list of filename, mode value and data.
OPTIONS -filename name
Cause the uuencode or uudecode commands to read their data from the named file rather that taking a string parameter.
-name string
The uuencoded data header line contains the suggested file name to be used when unpacking the data. Use this option to change this
from the default of "data.dat".
-mode octal
The uuencoded data header line contains a suggested permissions bit pattern expressed as an octal string. To change the default of
0644 you can set this option. For instance, 0755 would be suitable for an executable. See chmod(1).
EXAMPLES
% set d [uuencode::encode "Hello World!"]
2&5L;&@5V]R;&0A
% uuencode::uudecode $d
Hello World!
% set d [uuencode::uuencode -name hello.txt "Hello World"]
begin 644 hello.txt
+2&5L;&@5V]R;&0`
`
end
% uuencode::uudecode $d
{hello.txt 644 {Hello World}}
KEYWORDS
encoding, uuencode
base64 1.0.1 uuencode(n)