Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Shuffle an array PHP/MYSQL/Wordpress
  • Check Oracle installed products using one command Oracle
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • Database logon trigger issue Oracle
  • Implementing Listener Security Oracle
  • how to find OS block size Oracle
  • arch_configUOCIOTTO.ora Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • Guide to Linux System Command Mastery Linux/Unix
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • eplan9i.sql Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • cp_filesystem.sql Oracle
  • Complete Git Tutorial for Beginners GIT
  • check_copy_progress.sh Linux/Unix

Sending email with file attachment.

Posted on 07-Jan-2010 By Admin No Comments on Sending email with file attachment.

Single File Attachemnt:

=======================

cat test.dat|uuencode test.dat|mailx -s “subject” mailid

Multiple file Attachment:

=========================

(uuencode INPUTFILE $FILE_STRING.out ;uuencode INPUTFILE $FILE_STRING.err )|mailx -s “SUBJECT” $EMAIL_ID

(uuencode INPUTFILE check_dr_notok.log ;uuencode INPUTFILE check_dr_ok.log )|mailx -s “Test multuple attachment” pmehta@1800flowers.com

(uuencode check_dr_notok.log check_dr_notok.log ;uuencode check_dr_ok.log check_dr_notok.log)|mailx -s “Test multuple attachment” pmehta@1800flowers.com

Linux/Unix, shell

Post navigation

Previous Post: Kernel Parameters for Solaris
Next Post: How to find password change date for user

Related Posts

  • To see mem usage and CPU usage system wide. Linux/Unix
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • Some OS level threshold for performance. Linux/Unix
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • secure crt settings Linux/Unix
  • Running select from V$ views from remote server Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • Finding locked objects Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • good note for shared pool tunnig Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme