10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Guys,
Here is the requirement!!
I want to check the mail with attachment received or not through unix scripting.
And send an notification email when mail with attachment already received.
Any thoughts on this is much appreciated!!
Regards,
Harry (0 Replies)
Discussion started by: dharry2017
0 Replies
2. UNIX for Dummies Questions & Answers
Good Day
Kindly assist:
I am creating an Alert that will notify supervisors of staff members who are due for probation report. I am using Operating System Script(Unix) as source.I have already developed the script.
Now the challenge is if there are 3 employee records then the alert... (2 Replies)
Discussion started by: nosi27
2 Replies
3. Shell Programming and Scripting
autorep -m bogus
Machine Name Max Load Current Load Factor O/S Status
___________ ________ ___________ ______ ________ ______
bogus --- --- 1.00 Sys Agent Online
Status
______
Online
Offline
Missing
Unqualified
The "Status" always "Online". I like create a script execute run... (6 Replies)
Discussion started by: dotran
6 Replies
4. Solaris
I'm trying to send a .zip file from my unix box to my work email (email client outlook)
The file name that I'm trying to sent is sites.zip and this is how I do it:
uuencode sites.zip | mailx -s "testing" myname@mydomain.com
When I open the .zip, the zip is empty. Looking around the we, I... (17 Replies)
Discussion started by: amb1s1
17 Replies
5. Shell Programming and Scripting
Hi,
I had search the web for a script to download email, but failed to found one.
I need a bash or perl script that will check for email originating from an address such as john@rambo.com and download the .zip attachment into a specified folder.
Anyone could assist or give me some... (1 Reply)
Discussion started by: mynullvoid
1 Replies
6. Shell Programming and Scripting
I am trying to send an email body of information and also attachment using perl script, but I am only able to send the body but not an attachment. is there around it without using "use MIME::Lite;" module.
$user = "bataf\@xyz.com";
$subjectt = "mail from perl";
open(MAIL, "| mailx -s... (1 Reply)
Discussion started by: bataf
1 Replies
7. Shell Programming and Scripting
Hello,
I created the following script but i'm trying to figure out why i keep getting an error.
#!/usr/bin/perl -w
use strict;
use warnings;
my $baseDir = '/export/home/omcadmin/bin';
my $attachment = "$baseDir/message.txt";
my $from = 'xxx@xxx.com';
my $to = 'xxx@xxx.com';
my... (10 Replies)
Discussion started by: xmaverick
10 Replies
8. AIX
Hi,
I have .ksh file which internally calls a .sql file. This sql file writes a file with the result. I am using the following command to send email with the result file as attachment
uuencode file.txt file.txt | mail -s "Subject" abc@abc.com.
When i run the .ksh file i get a message you... (5 Replies)
Discussion started by: piyushprabhakar
5 Replies
9. Shell Programming and Scripting
I searched through the forum and couldn't quite find what I was looking for. I have a script that looks for a process "DW" to be running. If it is not it will email a notice to an account. I would like to add the functionality to have it also email a seperate notice if there is more that one of... (1 Reply)
Discussion started by: heprox
1 Replies
10. Shell Programming and Scripting
I'm looking for a sample of some code that will take the output from a file and generate an email that will include that text as an attachment. the script is in the borne shell. any help? (2 Replies)
Discussion started by: davels
2 Replies