Thread Webspaceanbieter - Dialog mit Support Team: Jaja Support,... (15 answers)
Opened by Free Faq at 2003-10-31 18:59

betterworld
 2003-10-31 22:13
#8868 #8868
User since
2003-08-21
2614 Artikel
ModeratorIn

user image
[quote=Free Faq,31.10.2003, 20:58]Wie kann ich das anzeigen lassen?[/quote]
Vielleicht so:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/perl
use strict;
use IO::Socket::INET;

print "Content-Type: text/plain\n\n";

my $sock = new IO::Socket::INET( Proto=>"tcp", PeerAddr=>"localhost", PeerPort=>25);
die ("no connection possible") unless defined $sock;

chomp(my $hostname = `hostname`);
print $sock "HELO $hostname\n";
print $sock "MAIL FROM: <user\@host>\n";
print $sock "QUIT\n";
print "Server sagt:\n";
print while <$sock>;
$sock -> close();

Auszufuehren als CGI script. Und vorher user\@host ersetzen.

View full thread Webspaceanbieter - Dialog mit Support Team: Jaja Support,...