F
fastjack
#My email is in the "To: " line. just not listed below for spam reasons.
#!/usr/bin/perl
$mailprog = '/usr/lib/sendmail -i -t';
open(MAIL,"|$mailprog");
print MAIL "To: (e-mail address removed)\n";
print MAIL "From: (e-mail address removed) (Test )\n";
# Add Ability to send HTML
print MAIL "Content-type: text/html\n";
# Check for Message Subject
print MAIL "Subject: Test\n\n";
print MAIL "This is a test\n\n";
close (MAIL);
print "Content-type: text/html\n\n";
print "<html><h1>The Email has been sent</h1></html>\n";
#!/usr/bin/perl
$mailprog = '/usr/lib/sendmail -i -t';
open(MAIL,"|$mailprog");
print MAIL "To: (e-mail address removed)\n";
print MAIL "From: (e-mail address removed) (Test )\n";
# Add Ability to send HTML
print MAIL "Content-type: text/html\n";
# Check for Message Subject
print MAIL "Subject: Test\n\n";
print MAIL "This is a test\n\n";
close (MAIL);
print "Content-type: text/html\n\n";
print "<html><h1>The Email has been sent</h1></html>\n";