Re: [SMARTY] sending emails using my smarty templates
| From: | Matthew Weier O'Phinney | Date: | Sun, 23 Jan 2005 05:31:23 +0000 |
| Subject: | Re: [SMARTY] sending emails using my smarty templates | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12199@lists.php.net to get a copy of this message | ||
* pete M <pmorgan@ukds.net>:
> Out of curioisty
> Has any guru managed to extract the <img> tags from the mail_template
> and attach them to the email automatically??
It's not hard to do, especially with packages like PEAR's Mail_MIME.
However, my personal view is that this is a complete waste of bandwidth.
The files are already available off your site, and most people read mail
while connected to the internet -- so those images will be available.
Additionally, image attachments are often a large factor in how
spam/virus scanners determine whether or not a mail may contain a virus
or spam (HTML mail is as well, which is why you should send HTML mails
as multipart/alternative with a text/plain equivalent alternative); why
risk having your mail quarantined right off the bat?
Just my 2 cents.
--
Matthew Weier O'Phinney | mailto:matthew@garden.org
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org