I am a newbie to Perl Programming.
I want to send an email using perl Script. I am able to do that. Perl Script is running on a Solaris machine
But the From ID conatins the system name in the ID.
Please see the Script below,
open (INFO, "/athreya/Qtrees");
$mailprog = '/usr/lib/sendmail';
print MAIL "To: athreya\@alt.ka\n";
print MAIL "From: firstname.lastname@example.org
print MAIL "Subject: $subject\n\n";
## Mail Body
print MAIL "Below Qtrees are nearing Full. Please do the Needful\n";
print MAIL @result;
print MAIL "\n";
print MAIL "Best Regards\n";
print MAIL "IT Admin";
Can in any way we change the From header?
Thanks and Regards,