Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Send an HTML email using perl and sendmail

rajeshkumar created the topic: Send an HTML email using perl and sendmail

Send an HTML email using perl and sendmail

open(MAIL,"|/usr/sbin/sendmail -t");

## Mail Header
print MAIL "To: rajeshk\@xxx.com\n";
print MAIL "From: rajeshk\@xxxx.com\n";
print MAIL "Subject: TEST\n";
## Mail Body
print MAIL "Content-Type: text/html; charset=ISO-8859-1\n"
. "@emailBody";
close(MAIL)

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x