Re: Including images with mail() or pear mail
| From: | Johannes Schlueter | Date: | Thu, 06 Feb 2003 19:12:59 +0000 |
| Subject: | Re: Including images with mail() or pear mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134660@lists.php.net to get a copy of this message | ||
On Thursday 06 February 2003 19:12, Mark McCulligh wrote:
> I have a little app that sends email, All images I link back to the site
> Example: <img
> src="http://www.site.com/images/pic1.gif">
>
> I know that with the normal mail() and pear mail function you can attach
> the image with the email.
> My question is what is better. Linking the image back to the site is very
> easy, but is there any disadvantage to this option, that attaching the
> image to the email would fix.
>
> In short I am looking for the pros and cons to both methods.
What comesfirst to my mind is:
pro linking to Website:
- small mail
con
- user needs to be online to see it
- this kind of linking could be disabled (you could create a link
www.site.com?image?mail=32&user=USERID and you know
when and wether the user read the mail...) and some users
could dislike this
Best: Don't use images in a mail ;-) (just my opinion...)
johannes