Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Backup and Recovery Scenarios Oracle
  • Renaming Global Name GLOBAL_NAME Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • How to remove blank lines using vi editor command Linux/Unix
  • UTL_FILE test program Oracle
  • ext#.sql Oracle
  • Pending Transaction Neighbors Script Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • Jai Shree Ram Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • Parallel DML Oracle
  • Distributed Transaction Troubleshooting. Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • Good RAC & Standby Notes Oracle
  • Display the top 5 salaries for each department using single SQL Oracle

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

  • telnet listening Linux/Unix
  • get_vmstat.ksh Linux/Unix
  • Unix command for system configuration Linux/Unix
  • nfs mount command Linux/Unix
  • find checksum of a file. Linux/Unix
  • chk_space_SID.ksh 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 find password change date for user Oracle
  • Implementation of key based authentications Linux/Unix
  • To see mem usage and CPU usage system wide. Linux/Unix
  • Check Oracle installed products using one command Oracle
  • sid_wise_sql.sql Oracle
  • send email from unix mailx with attachment. Linux/Unix
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme