> That would certainly work, though I would say this instead:
>
> &send_email( $email_message->output );
>
> Since you're sending the e-mail to a controlled (& homogeneous) list of
> HTML-receivable e-mail clients, you don't have to worry about a
> corresponding text version.


Thanks Jason, that is awesome... I never thought of passing "xxx->output"
right to the mail sub.. That is perfect as now I can just do my standard

my $template = new HTML::Template(filename => "filename");

Assign everything when and where I want to and output it to the send_mail
sub - its perfection!! (thought I would have to do it via a FH before as the
content wasn't being served up via http).

Thanks for MIME::Lite suggestion, I know I'm going to have to use it someday
when I need to send attachments - currently I use Mail::Sendmail and just
bounce it off our SMTP server in the network - works great!.

Thanks Again
-Chris




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to