10 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
use Net::SMTP;
use strict;
print "SMTP-Server: ";
my $usmtp = <STDIN>;
print "\n";
print "Senden an: ";
my $empf = <STDIN>;
print "\n";
print "Absender: ";
my $absender = <STDIN>;
print "\n";
print "Betreff: ";
my $betreff = <STDIN>;
print "\n";
print "\n\n";
print "Deine Message:\n";
my $message = <STDIN>;
print "\n\n";
my $smtp = Net::SMTP->new('$usmtp');
my $smtp->mail('$absender');
my $smtp->to($empf);
my $smtp->data();
my $smtp->datasend("Subject: $betreff\n");
my $smtp->datasend("To: $empf\n");
my $smtp->datasend("\n");
foreach my $zeile ($message) {
my $smtp->datasend("$zeile");
}
my $smtp->dataend();
my $smtp->quit;
my $smtp = Net::SMTP->new('$usmtp');
my $smtp = Net::SMTP->new($usmtp);
1 2 3 4 5 6
foreach my$zeile (split(" ", $message)) { $smtp->datasend("$zeile "); }
10 Einträge, 1 Seite |