Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Import and export statements Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • sesswait.sql Oracle
  • Good links for x$ tables in oracle. Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • SYSOPER Mystery Oracle
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • metalink all dynamic view reference notes. Oracle
  • TRUNCATE Privs Oracle
  • To Find Orphan OS processes. Linux/Unix
  • catting.sh Linux/Unix
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • fkwoind.sql fkwoindex.sql Oracle
  • UTL_FILE test program Oracle
  • checking connectivity between two servers 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

  • .profile Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • Single character replacement in Unix Linux/Unix
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Search and Replace vi editor command. 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 (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • create database link syntax Oracle
  • scripts to take listener.log backup Linux/Unix
  • Drop tempfiles from database Oracle
  • Multiple listeners Oracle
  • initUOCIOTTO.ora Oracle
  • Temporary Tablespace Information and restriction. Oracle
  • find_idle_cpu.sql Oracle
  • grep multuple patterns Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme