#!/usr/bin/env perl # postman.pl use warnings; use strict; use Data::Dumper; my $sendmail = "/usr/sbin/sendmail -t"; my $reply_to = "Reply-to: \@.com\n"; my $subject = "Subject: \n"; my $content = "Welcome to ooty, nice to meet you\n"; ## not used actually read from file instead of this my $from = "From: "."\@.com\n"; my $to = "To: "."\@ close(FILE); close(SENDMAIL);