For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > January 2005 > Re: [SMARTY] sending emails using my smarty templates









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] sending emails using my smarty templates
Abdul-Wahid Paterson

2005-01-21, 4:00 pm

I had thought of using this....

http://uk.php.net/manual/en/functio...nt-loadhtml.php

Using the new DOM functions you should be able to load the HTML and
automatically extract all the <img> tags. The big BUT is...

1. I think it is only available in PHP5
2. I have not tested it

Can anyone with PHP5 installed work out (or does anyone know) if this
would in theory work? :)

Abdul-Wahid

On Fri, 21 Jan 2005 17:41:37 +0000, pete M <pmorgan@ukds.net> wrote:
> Out of curioisty
> Has any guru managed to extract the <img> tags from the mail_template
> and attach them to the email automatically??
>
> pete
>
> Jochem Maas wrote:
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com