sending emails using my smarty templates
| From: | Abdul-Wahid Paterson | Date: | Fri, 14 Jan 2005 18:36:36 +0000 |
| Subject: | sending emails using my smarty templates | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12159@lists.php.net to get a copy of this message | ||
Hi,
I have a number of webpages that I would like to have an "email to
friend" link that sends the page as an HTML email. I was thining of a
solution that would use the "register_outputfilter" method to parse
the template and to extract href urls and image urls. To change the
href URLs so that they are fully qualified and to change the images so
that I can load them through the Pear MIME::Mail class as a in-line
attached image.
Would this in theory be possible? Has anyone else a better way of
doing it or other suggestions?
Regards,
Abdul-Wahid