in reply to MIME::Lite $message construction with variables

Just sidestepping your questions for one second -- I just discovered a great module Mail::SendEasy, that would probably simplify everything you need to do.

It handles painless multipart message contstuction, html, plaintext, attachments (w/zip compression too), smtp AUTH, and depends only on Archive::Zip to do all that..

Took about 3 minutes to get it going with all features in use.



Replies are listed 'Best First'.
Re^2: MIME::Lite $message construction with variables
by hmbscully (Scribe) on Jun 10, 2004 at 21:42 UTC
    I will look into that, unfortunately, it took nearly 2 months to get my UNIX admin to install the MIME::Lite tools, so if I could make this work with what I have right now, I'd be real excited.
      $name is within ' ' single quotes.. so it will not be expanded..

      You might have to resort to something as neanderthal as:
      $message1 = ' part 1 of html code block '; print $message1; print "$name"; $message2 = ' part 2 of html code block '; print $message2;

      You could also use stuff from the CGI module to construct html, but you might need more specific than it can give you.