Alamar
17.02.2002, 12:12
alias smtp {
if (gmx isin $1) {
set %m.sg mx0.gmx.net
}
else {
set %m.sg $1
}
clear
sockclose smtp
echo -a $1
sockopen SMTP %m.sg 25
}
on *:sockopen:SMTP:{
echo -a connected $sock(smtp).ip
sockwrite -n SMTP helo $fullname
echo -a Helo sent : $fullname
.timer 1 4 sockwrite -n SMTP mail from: gmx@gmx.net
.timer 1 4 echo -a Addy sent:
.timer 1 5 sockwrite -n SMTP rcpt to: LoC.Alamar@gmx.net
.timer 1 5 echo -a Recipient sent
.timer 1 5 sockwrite -n SMTP data
.timer 1 6 echo -a Data command
.timer 1 7 sockwrite -n SMTP Date: 16 Feb 02
.timer 1 7 sockwrite -n SMTP Sender: gmx@gmx.net
.timer 1 7 sockwrite -n SMTP Subject: Account Problem
.timer 1 8 sockwrite SMTP blabloblbo
.timer 1 8 sockwrite SMTP fdgdgfdgfdgf
.timer 1 8 sockwrite SMTP gfdfdgdgffdgdgf
.timer 1 8 sockwrite SMTP dffdgdgffdgübereinstimmt.
.timer 1 9 sockwrite -n SMTP MFG ihr GMX Team.
.timer 1 10 echo -a mail was sent
.timer 1 11 sockwrite -n SMTP .
.timer 1 11 sockwrite -n SMTP quit
.timer 1 12 echo -a Closing socket...
.timer 1 12 sockclose smtp
}
on *:sockread:SMTP:{
sockread %temp
tokenize 32 %temp
echo -a Smtp: $1-
}
mein prob ist der text der email wird nie gesendet :/
if (gmx isin $1) {
set %m.sg mx0.gmx.net
}
else {
set %m.sg $1
}
clear
sockclose smtp
echo -a $1
sockopen SMTP %m.sg 25
}
on *:sockopen:SMTP:{
echo -a connected $sock(smtp).ip
sockwrite -n SMTP helo $fullname
echo -a Helo sent : $fullname
.timer 1 4 sockwrite -n SMTP mail from: gmx@gmx.net
.timer 1 4 echo -a Addy sent:
.timer 1 5 sockwrite -n SMTP rcpt to: LoC.Alamar@gmx.net
.timer 1 5 echo -a Recipient sent
.timer 1 5 sockwrite -n SMTP data
.timer 1 6 echo -a Data command
.timer 1 7 sockwrite -n SMTP Date: 16 Feb 02
.timer 1 7 sockwrite -n SMTP Sender: gmx@gmx.net
.timer 1 7 sockwrite -n SMTP Subject: Account Problem
.timer 1 8 sockwrite SMTP blabloblbo
.timer 1 8 sockwrite SMTP fdgdgfdgfdgf
.timer 1 8 sockwrite SMTP gfdfdgdgffdgdgf
.timer 1 8 sockwrite SMTP dffdgdgffdgübereinstimmt.
.timer 1 9 sockwrite -n SMTP MFG ihr GMX Team.
.timer 1 10 echo -a mail was sent
.timer 1 11 sockwrite -n SMTP .
.timer 1 11 sockwrite -n SMTP quit
.timer 1 12 echo -a Closing socket...
.timer 1 12 sockclose smtp
}
on *:sockread:SMTP:{
sockread %temp
tokenize 32 %temp
echo -a Smtp: $1-
}
mein prob ist der text der email wird nie gesendet :/