Thread Fehlersuche Skript gibt falsche Warnungen aus (14 answers)
Opened by hcx at 2011-08-03 12:08

FIFO
 2011-08-03 14:39
#151072 #151072
User since
2005-06-01
469 Artikel
BenutzerIn

user image
Guest hcx
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
sub SENDEMAIL {
        $absender = new Mail::Sender
        (
                {
                        from => 'hackbox@gmx.net',
                        mail => 'mail.gmx.net',
                        authid => 'hackbox@gmx.net',
                        authpwd => 'cr-pup40.zip',
                        debug => $DEBUG,
                        auth => 'LOGIN'
                }
        );


Lass mal die runden Klammern weg.
Aus der Mail::Sender-Doku:
new Mail::Sender ([from [,replyto [,to [,smtp [,subject [,headers [,boundary]]]]]]])

bzw.

new Mail::Sender {[from => 'somebody@somewhere.com'] , [to => 'else@nowhere.com'] [...]}

edit: Ist wahrscheinlich nicht der zielführende Tip, weiter unten in der Doku ist ein Aufruf wie Deiner ...
Last edited: 2011-08-03 14:55:19 +0200 (CEST)
Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? -- Brian Kernighan: "The Elements of Programming Style"

View full thread Fehlersuche Skript gibt falsche Warnungen aus