12-21-2008
Quote:
Originally Posted by
frank_rizzo
send an email using mail or mailx.
Using mail, we already have a smtp server.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
How to write a script to perform telnet/ftp operation.
Also please refer some site to get reference about shell scripting.
Thanks in advance
-Arun. (1 Reply)
Discussion started by: arun.viswanath
1 Replies
2. UNIX for Dummies Questions & Answers
I can do the following steps on my UNIX box interactively, but cannot send an email with a script. Can someone help? I need to send an email or some other notification when a cron job fails.
telnet xx.yy.zz.ww 25
helo
mail from: 123@123.com
rcpt to: my@email.net
data
subject: email test... (1 Reply)
Discussion started by: ejaggers
1 Replies
3. Shell Programming and Scripting
Hi,
I am trying to write a ksh script to send an attachment via telnet to an SMTP server.
I'm using MKS Toolkit. mail, mailx, sendmail, nc are not working on the server where I have MKS Toolkit installed.
If I type the following from the command prompt I receive an email:
telnet x.com... (0 Replies)
Discussion started by: dukeEarth
0 Replies
4. Shell Programming and Scripting
Hi all,
I would like to write a ad hoc shell script that would allow me to do some telnet tests to multiple IP's and ports at the same time . So, I want to determine which one is successful and which one fails. So, basically I would like the shell to spawn the telnet test and to break out of... (3 Replies)
Discussion started by: Pouchie1
3 Replies
5. UNIX for Dummies Questions & Answers
My distribution details.
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release: 5.2
Codename: ... (13 Replies)
Discussion started by: pinga123
13 Replies
6. Shell Programming and Scripting
Hi,
I need a script that take one parameter as destination hostname and two parameter as ranges and tries telnet and records the successful connections.
fo reg:
./testtelnet.sh destination-host 1000 1050
should give me all the port between 1000 and 1050 what successfully connected to... (10 Replies)
Discussion started by: shifahim
10 Replies
7. Windows & DOS: Issues & Discussions
This is a script in visual basic that basically sends an email from an existing account, in this case the example is provided for live.com. It uses CDO (Collaboration Data Objects).
All you need to do is replace the fields with the proper information.
The email is send from Command Prompt... (0 Replies)
Discussion started by: Tribe
0 Replies
8. AIX
hi,
i have a problem ,
I'm creating a script that send a mail with telnet .
via command line it's ok,but i create the .sh i have problem .
this a .sh
telnet
open mysmtp 25
HELO
sleep 15
MAIL FROM:<Email>
sleep 15
RCPT TO:<email>
sleep 15
DATA
SUBJECT : PROVA (3 Replies)
Discussion started by: cescofran76
3 Replies
9. Shell Programming and Scripting
I have make an menu in which first option is to start and second is to stop the services
echo "Please enter the appropriate choice for doing the operations"
echo "
1) STOP Services
2) START Services
case $choice in
1)
... (1 Reply)
Discussion started by: punpun66
1 Replies
10. Shell Programming and Scripting
Hello Peoples,
I have a problem wrapping my head around a script that I modified, essentially it uses the postfix smtp line in master.cf to send out a message to two or more email servers, It is a nice way to test different email servers and platforms. Problem with the original script is that it... (0 Replies)
Discussion started by: SeSe
0 Replies