Hell-O!
leider klappt's nicht :-(
Was sagt das ErrorLog?
#!/usr/bin/perl
use strict;
use diagnostics;
>
> > my $smtp = Net::SMTP\_auth->new("smtp.web.de") or print "Hell!";
>
> Schalte mal den Debug-Modus ein und gib den Accountnamen explizit an:
>
> `my $smtp = Net::SMTP_auth->new('smtp.web.de', Hello => 'mailserver.tld', Debug => 1) or print "Hell!";`{:.language-Perl}
>
> Ansonsten gibt's zu Net::SMTP (das Basismodul zu Net::SMTP\_auth) eine [recht gute Anleitung](http://thomas-fahle.de/pub/perl/Mail_and_News/SMTP.html).
>
> Siechfred
Hi Siechfred!
Vielen Dank für die Hilfe! Dein Beitrag hat mir hier zum Erfolg verholfen und mich gleich vor das nächste Problem gestellt.
Oder - nennen wir es mal "Herausforderung"... ;)
Das Modul Net::SMTP\_auth ist bei keinem meiner Provider installiert, d.h. ich hab es via 'use lib (pfad) und upload des Moduls eingebunden.
Zunächst wurde 'Authen::SASL' nicht gefunden - einfach auch noch hochgeladen und dann... :-(
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Fehlermeldung wie folgt:
Software error:
Cannot find a SASL Connection library at Local/Net/SMTP\_auth.pm line 90
For help, please send mail to the webmaster (test@example.org), giving this error message and the time and date of the error.
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Zeile 90 +- 5 aus der smtp\_auth.pm:
85 pass => $pass,
86 },
87 );
88 return unless $sasl;
89 my $host = ${\*$me}{'net\_smtp\_host'};
90 my $conn = $sasl->client\_new("smtp", $host);#, "noplaintext noanonymous");
91
92 $me->\_AUTH($auth) or return;
93
94 if ( $me->code() == 334 ) {
95
96 if (my $initial = $conn->client\_start)
nu bin ich mit meinem Latein am Ende!