Re: [SMARTY] sending emails using my smarty templates
| From: | Raj Shekhar | Date: | Thu, 20 Jan 2005 17:58:53 +0000 |
| Subject: | Re: [SMARTY] sending emails using my smarty templates | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12179@lists.php.net to get a copy of this message | ||
On Fri, 14 Jan 2005 18:36:36 +0000, Abdul-Wahid Paterson wrote:
> 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?
>
- Maybe you can mail out the URL of the web page instead of the page
itself.
- You can create a PDF of the page the user is viewing and mail out
that PDF instead
--
,-.___,-. Raj Shekhar
\_/_ _\_/ System Administrator, programmer and slacker
)O_O( home : http://rajshekhar.net
{ (_) } blog : http://rajshekhar.net/blog/
`-^-' work : http://netphotograph.com