Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Automated Perl email with generated date in subject

Avatar of neotide1976
neotide1976 asked on
6 Comments1 Solution359 ViewsLast Modified:

I'm trying to generate a daily automated HTML email using Perl and MIME::Lite.  I have most of what I want working coming to Outlook 2007 clients although I cannot for the life of me get the date to work since moving from text to HTML.  The date should be generated behind the subject.  I'm a Perl noob so any guidance would be greatly appreciated!
#!/usr/bin/perl -w
use strict;
use MIME::Lite;
# SendTo email id
my $email = 'user@place.com';
# Date
my $date = 'date';
# create a new MIME Lite based email
my $msg = MIME::Lite->new
        Subject => $date,
        From    => 'group@place.com',
        To      => $email,
        Type    => 'text/html',
        Data    => '<html>
                        <body lang=EN-US link=blue vlink=purple>
                        <p><b>-Stuff I am working on:</b></p>
                        <p><b>-Stuff I want looked over:</b></p>
Avatar of kukno
kuknoFlag of Germany image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answers