Jürgen: usr/lib/sendmail' klappt nicht immer

Beitrag lesen

Hallo,

Bei folgenden Programm kommen die Emails nicht bei allen
Systemen wie Z.B einen OUTLOOK nicht an.

---------------------------------------------
#!/usr/bin/perl -w

E-mail address to send intake form to (your address)

If not using PERL 5, escape the @ thus: @ instead of @

$YourEmail = 'info@meine-mail.de';

Location of mail program - check your doc or ask admin

$MailProgram = '/usr/lib/sendmail';

$subjectauto = "Registration";

open(MAIL,"|$mailp -t");
print MAIL "To: $YourEmail\n";
print MAIL "From: $YourEmail\n";
print MAIL "Subject: $subjectauto\n\n";
print MAIL "Hallo";
               close (MAIL);

print "Content-Type: text/html\n\n";
print $YourEmail;