|
|
Choosing A Webhost: |
Re: Using HT to create HTML Email: msg#00004lang.perl.modules.html-template
> 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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Using HT to create HTML Email, Jason Purdy |
|---|---|
| Next by Date: | Dynamically including templates?, Todd Chapman |
| Previous by Thread: | Re: Using HT to create HTML Email, Jason Purdy |
| Next by Thread: | Dynamically including templates?, Todd Chapman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |