![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| unable to send mail | monika | AIX | 0 | 06-17-2008 01:59 AM |
| Unable to send mail, on sun solaris | saisivakumar | Shell Programming and Scripting | 3 | 05-28-2008 04:08 AM |
| Unable to send mail - but no errors found :-( | csaha | Linux | 6 | 02-03-2006 04:21 PM |
| unable to send mail? | shahnazurs | SUN Solaris | 1 | 07-28-2005 11:07 AM |
| can not send mail from unix server to company/yahoo mail | b5fnpct | UNIX for Dummies Questions & Answers | 5 | 11-22-2002 09:24 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
I have been trying to send a mail from a remote site using this script To send the mail: #!/bin/ksh MAILTO="abc@xyz.com" BACKUPDIR="/wls_domains/wli81_1/RHTEAM/OUTPUTBACKUP/" #BACKUPDIR="../OUTPUTBACKUP/" while [ $# -ge 1 ]; do print $1 uuencode $1 $1 | mail $MAILTO print "Mail sent with $1 attached" cp $1 $BACKUPDIR rm $1 shift done To get one attachment per mail: #!/bin/ksh OUTPUTDIR="/wls_domains/wli81_1/RHTEAM/OUTPUT" #OUTPUTDIR="../OUTPUT" cd $OUTPUTDIR while [ 1 ]; do ls *.CSV | xargs "/wls_domains/wli81_1/RHTEAM/Script/sendMailAttach.ksh" sleep 300 done The main script: #!/bin/ksh ./mailCSV.ksh & There is no error being prompted and neither the mail is being delivered. Could anyone help me with this? I am not able to get the error in any of the scripts. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|