Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Find long Running Transaction Linux/Unix
  • DBMS_Shared_pool pinning triggers Oracle
  • Unix command for system configuration Linux/Unix
  • Oracle Data Direct to TAPE Oracle
  • find_open_cur.sql Find open cursorts per session Oracle
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • For Search and replace unix command. Linux/Unix
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • SYSOPER Mystery Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • My Test Case On 21-OCT-2005 Oracle
  • Composite Index creation tip from Vivek Oracle
  • OEM-Commnds Oracle
  • find the files that are 1 day old. 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

  • Search and replace pattern Linux/Unix
  • ipcs -l Linux/Unix
  • catting.sh Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • Korn Shell Arithmatic Linux/Unix

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • create database syntax Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • scp with ssh2 Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme