xNeTworKx: Email versenden über SMTP statt /usr/sbin/sendmail ?

Beitrag lesen

Hallo,
danke für die schnelle Hilfe
#!/usr/bin/perl -w

use Net::SMTP;
print "Content-type:text/plain\n\n";
$smtp = Net::SMTP->new('smtp.chello.at');

$smtp->mail('m.pitha@chello.at');
$smtp->to('m.pitha@chello.at');

$smtp->data();
$smtp->datasend("To: m.pitha@chello.at\n");  # das wird der Mailheader
$smtp->datasend("\n");  # der Header wird mit \n\n vom Content getrennt!
$smtp->datasend("Hier kommt der Text!\n");
$smtp->dataend();

$smtp->quit;

Ich bekomm zwar ein email, aber ein Error Mail ?
This Message was undeliverable due to the following reason:

The following destination addresses were unknown (please check the
addresses and re-mail the message):

<"m.pitha@chello.at">

Please reply to Support@chello.at
if you feel this message to be in error.

Wie kann das sein ?, meine email Adresse stimmt doch.