Apr 30, 2021

Attaching more than 2 files in mail in Linux

 Here I am showing one with example:


#!/bin/bash

export BASE=/home/oracle/gouranga

sendDt=`date +%m-%d-%Y`


sendMail_success()

{

mailx -a ${BASE}/sample01.csv -a ${BASE}/sample02.csv -a ${BASE}/sample03.csv -r no-replay@oracle.com -s "Sample files to download" mail1.test@oracle.com,mail2.test@oracle.com <<EOF

Hi Team,

Please find attached files for ${sendDt}.

--- File#1 contents

echo `cat ${BASE}/sample01.csv`

---File#2 contents

echo `cat ${BASE}/sample02.csv`

Thanks.

Regards,

DBA Team

EOF

}

21 comments:

  1. Hi,
    Thanks for sharing, it was informative. We play a small role in upskilling people providing the latest tech courses. Join us to upgradeSAP BPC ONLINE TRAINING

    ReplyDelete
  2. i was lost with no hope for my wife was cheating and had always got away with it because i did not know how or

    always too scared to pin anything on her. with the help a friend who recommended me to who help hack her phone,

    email, chat, sms and expose her for a cheater she is. I just want to say a big thank you to

    HACKINTECHNOLOGY@CYBERSERVICES.COM . am sure someone out there is looking for how to solve his relationship problems, you can also contact him for all sorts of hacking job..he is fast and reliable. you could also text +1 213-295-1376(whatsapp) contact and thank me later

    ReplyDelete
  3. REAL URGENT EFFECTIVE SPELL CASTER TO HELP BRING BACK EX LOVER AND SAVE MARRIAGE. Email: dr.makinidrmurugu@gmail.com

    Hello everyone my name is Elisa Keily and I am so overwhelmed with joy all thanks to Dr Murugu spell. My husband left me for another woman a few years back and I was very devastated cause I never did anything wrong to him,I was left with my two kid and a job that pays little. I was almost giving up until I saw a testimony online about Dr Murugu  and I decided to contact him. I explained my problem to him and he assured me I'll see a positive result after 24 hours, surprisingly my husband came back the day after the spell begging me to forgive him and promised to never leave. my husband has been back for 6 months now and we've never had any issues, am glad I didn't doubt Dr Murugu cause he sure can solve any problems with fast relief you can also contact him for help nowEmail: dr.makinidrmurugu@gmail.com  WhatsApp/call  +90 538 069 4285
    https://drmakinidrmurugu.blogspot.com
    Website: https://drmuruguspellhome.com

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete

  5. I in addition to my friends have already been studying the good key points located on your web site and immediately got a terrible feeling I never thanked the blog owner for those tips on . HOW TO OBTAIN A VALID REGISTERED PASSPORT ONLINE THAT WORKS

    Y’all don’t forget to join this TELEGRAM GROUP for more information about a passport from any country. You can also take advantage to learn and meet many Experts who will guide you on numerous techniques for anyone who love hacking and don’t know how to go about it .

    ReplyDelete
  6. This comment has been removed by a blog administrator.

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete
  8. A few months ago, I felt so depressed, I got frustrated with bad credits, but then I contacted HACK VANISH by phone: +1 (747) 293-8514 and email: HACK VANISH (@) GMAIL. COM. I found out about hack vanish services through positive reviews read on some credit blogs, in a blink of an eye this great hacker restored my credit score from 509 to 784 in all 3 major credit bureaus, they got removed evictions and foreclosures, my LexisNexis and Chex system was repaired respectively, a few days later I received an email confirming the approval of my mortgage loan, it was quite surprising because I never thought it was possible. Today, I can confidently say that 2021 was a banner year for my husband and I as we now own a new house and a new SUV courtesy of HACK VANISH, I would definitely recommend him to anyone in need of a genuine Hacker.

    ReplyDelete
  9. તમને મળીને આનંદ થયો : One Piece
    તમને મળીને આનંદ થયો : lambang
    તમને મળીને આનંદ થયો : One Piece
    તમને મળીને આનંદ થયો : Logo
    તમને મળીને આનંદ થયો : Sinopsis Film
    તમને મળીને આનંદ થયો : One Piece
    તમને મળીને આનંદ થયો : Sinopsis Film Terbaru
    તમને મળીને આનંદ થયો : One Piece

    ReplyDelete
  10. I started playing lottery games 3 years ago and I have never won big sums. I went online to seek help on how I can win big in my lottery games and I saw some nice reviews about Dr Amber who has made different people huge winners in their lottery games with his prayers. I gave it a try and I contacted Dr Amber who told me how and what to do before I can become a big lottery winner and I accepted. He made special prayers for me at his temple and gave me the required numbers to play the lottery game and when I played it, I won a massive $235.4 million POWERBALL jackpot. I was so happy and I chose to receive my winnings in a one-time, lump-sum payment of $160,038,447.27 at Florida Lottery Headquarters in Tallahassee and the balance was given to the store that I bought & played the game from. I would love other people to seek help from him and he can be contacted through +1 (808) 481-5132 via call/text or email: amberlotterytemple@yahoo.com

    ReplyDelete
  11. This comment has been removed by a blog administrator.

    ReplyDelete
  12. This comment has been removed by a blog administrator.

    ReplyDelete
  13. This comment has been removed by a blog administrator.

    ReplyDelete
  14. This comment has been removed by a blog administrator.

    ReplyDelete
  15. This comment has been removed by a blog administrator.

    ReplyDelete
  16. This comment has been removed by a blog administrator.

    ReplyDelete
  17. This comment has been removed by a blog administrator.

    ReplyDelete
  18. This comment has been removed by a blog administrator.

    ReplyDelete
  19. Need A Hacker Who Can Recover Stolen Or scam*ed BTC?

    If you need a genuine hacker who can recover stolen or scam*ed Cryptocurrency RECOVERY MASTERS got you covered, they're secured Hacker from USA who deal with cyber issues of all kind, such as WhatsApp hack, Facebook hack, gmail hack, mobile phone hack, accounts hack, erase criminal records, websites hack, Bitcoin Trade recovery, and other hack relating to cyber issues.
    Contact info: (recoverymasters@email.cz)

    ReplyDelete
  20. This comment has been removed by a blog administrator.

    ReplyDelete

Translate >>