popup message


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting popup message
# 1  
Old 07-22-2008
popup message

[IMG]file:///C:/DOCUME%7E1/eelavazh/LOCALS%7E1/Temp/moz-screenshot-1.jpg[/IMG]HI,,
I am new to the shell scripting and trying to be adopted soon...Can u please suggest me how do we populate a message when the following condition fails......

Thanks and Regards,
Ela

success250=`grep -c 250.Transfer.completed.successfully /tmp/int002_$$`

mail_list="elavv2003@gmail.com"

if [ "$success250" -eq 1 ]
then
cat $1 /tmp/int002_$$ > /tmp/int002err.$$
#sdm -t $mail_list -s "Success "`basename $0` -m "$1 /tmp/int002_$$"
mutt $mail_list -s "Success "`basename $0` -i "/tmp/int002err.$$" </dev/null
else
#sdm -t $mail_list -s "FAILURE "`basename $0` -m "$1 /tmp/int002_$$"
mutt $mail_list -s "FAILURE "`basename $0` -i "/tmp/int002err.$$" </dev/null
fi
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Popup needed while reboot - for confirmation

Hi all, I need something like a pop-up while clicking on shutdown button or reboot button in GUI and also while running the command reboot / shutdown / init it should ask some confirmation message.. Do you want to do so..and so. How can i make this possible ? . (4 Replies)
Discussion started by: linuxadmin
4 Replies

2. Shell Programming and Scripting

Writing an annoying popup window

Hi, I work for Xerox. As a new guy, I was recently pranked by the resident Solaris guru.:cool: This is a celebrated event. I must now prank back in an equally flawless fashion. I wish to get back to him by writing a script that will generate an annoying popup randomly, a small window that... (1 Reply)
Discussion started by: orchus
1 Replies

3. Shell Programming and Scripting

Read popup message and save it in file

Hi, I am trying to automate one of the application using IE:Auotmation in perl My web application has few text fields and 2 buttons "Save Changes" and "Discard Changes".I have written code to enter values to the text fields fetching from input file and click the button "Save Changes".As soon as... (0 Replies)
Discussion started by: jyo123.jyothi
0 Replies

4. Shell Programming and Scripting

call a popup message from the shell script

Hi , this is my first querry in this forum and I am new bee to the shell scripting..Please have a glance on my query and give ur valuable suggestions . I have a crown job which performs one function,If the job has done successfully we need to send message to some group as "SUCCESSFUL" or else we... (0 Replies)
Discussion started by: elavv
0 Replies

5. Cybersecurity

Browser Login instead of .htaccess popup

Hi, Sorry if this is in the wrong forum. Anyway help I would appreciate. How do or or where would I find info (tried google but it's just a bit hard to understand & have no how to implement it). What I've got is a standard garden variety user registration form (php). It allows people to... (1 Reply)
Discussion started by: justanob
1 Replies

6. Solaris

How to supress a UI popup at the time of Service start up in solaris-10

Hi, I have written a service script(service.sh) for my application which will add my application(BTINM) as service and start the service. Internally inside the script i will call the sh script which will start my application server. When my application server starts a UI opens saying that the... (5 Replies)
Discussion started by: krevathi1912
5 Replies

7. UNIX for Dummies Questions & Answers

Unix Messenger Popup?

Hi guys, I'm new to these forums. I'm more of a Windows guy, but I work at an electronics manufacture company that uses Solaris 10 extensively. We have Sunfire v480 servers set up to do system level testing. Everything is networked so you telnet into any server from any computer in the facility.... (1 Reply)
Discussion started by: Daniel.a
1 Replies

8. Solaris

Create popup in solaris

Does anyone know how to create a popup window in solaris 8 and later? I want to create and load a popup window when a user logon to a solaris machine and inform the user about some environment changes we have done. Can this easily be done? And if soo how? /Tony (0 Replies)
Discussion started by: tonlu
0 Replies

9. UNIX for Dummies Questions & Answers

samba popup message

I would like to display a popup message to my clients when they connect to my samba share explaining certain file restricitions and maintenance instructions. How do I go about this method? Right now I'm sharing linux with mac clients and pc's, but can only display a message with my mac clients. ... (4 Replies)
Discussion started by: benzo
4 Replies
Login or Register to Ask a Question
qmail-popup(8)                                                System Manager's Manual                                               qmail-popup(8)

NAME
qmail-popup - read a POP username and password SYNOPSIS
qmail-popup hostname subprogram DESCRIPTION
qmail-popup reads a POP username and password from the network. It then runs subprogram. qmail-popup is most commonly invoked from inetd as qmail-popup CHANGEME checkpassword qmail-pop3d Maildir with CHANGEME replaced by the fully qualified domain name of the local host. qmail-popup expects descriptor 0 to read from the network and descriptor 1 to write to the network. It reads a username and password from descriptor 0 in POP's USER-PASS style or APOP style. It invokes subprogram, with the same descriptors 0 and 1; descriptor 2 writing to the network; and descriptor 3 reading the username, a 0 byte, the password, another 0 byte, an APOP timestamp derived from hostname, and a final 0 byte. qmail-popup then waits for subprogram to finish. It prints an error message if subprogram crashes or exits nonzero. qmail-popup should be used only within a secure network. Otherwise an eavesdropper can steal passwords. Even if you use APOP, an active attacker can still take over the connection and wreak havoc. qmail-popup has a 20-minute idle timeout. qmail-popup is based on a program contributed by Russ Nelson. SEE ALSO
maildir(5), qmail-local(8), qmail-pop3d(8) qmail-popup(8)