Thread Mailsenden Problem: mail senden via smtp (6 answers)
Opened by markusin at 2006-11-13 00:01

markusin
 2006-11-16 21:20
#37404 #37404
User since
2006-11-12
3 Artikel
BenutzerIn
[default_avatar]
Ich habs debuggen lassen und der debugger liefert mir folgende Ausgabe:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
main::(scripts/mymailsender.pl:20):
20: push @args, Server => $server;
DB<1> n
main::(scripts/mymailsender.pl:21):
21: push @args, Auth => [$smtpuser, $smtppasswd];
DB<1> n
main::(scripts/mymailsender.pl:22):
22: push @args, Debug => 1;
DB<1> n
main::(scripts/mymailsender.pl:24):
24: my $mailer = Mail::Mailer->new($type, @args) or die "Kann kein neues Mail::Mailer-Objekt erzeugen: $!\n";
DB<1> n
main::(scripts/mymailsender.pl:27):
27: $mailer->open({From => $from, To => $to, Subject => $subject}) or die "Kann kein neues Mail::Mailer-Objekt oeffnen: $!\n";
DB<1> n
Invalid argument at /usr/lib/perl5/vendor_perl/5.8.8/Mail/Mailer.pm line 269.
at /usr/lib/perl5/vendor_perl/5.8.8/Mail/Mailer.pm line 269
Mail::Mailer::open('Mail::Mailer::smtp=GLOB(0x83859c0)', 'HASH(0x82e01ec)') called at scripts/mymailsender.pl line 27
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
DB<1>


Scheinbar pass ihm meine Argumente nicht, die ich Ihm uebergebe.

Kannst du mehr erkennen als ich?

Markus

View full thread Mailsenden Problem: mail senden via smtp