php-general Digest 10 May 2009 22:51:37 -0000 Issue 6114
Topics (messages 292431 through 292432):
Inline images with PEAR Mail
292431 by: Ron Piggott
Re: how to enable ttf support in php 5.2.9
292432 by: Ashley Sheridan
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
I am not understanding how to do inline images with the PEAR Mail
module. I am new to using this PEAR Mail module.
I give the command:
$mime ->
addHTMLImage("/home/thev4173/public_html/images/email_cross.gif");
It offers the image as a file attachment, and not displaying it within
the context of the HTML e-mail:
<IMG SRC="email_cross.gif" WIDTH="15" HEIGHT="20" />
What additional step(s) am I needing to take?
Ron
--- End Message ---
--- Begin Message ---
On Sat, 2009-05-09 at 11:42 +1000, Ross McKay wrote:
> On Tue, 5 May 2009 17:27:57 -0400, tedd.sperling wrote:
>
> >I have one client who no matter how many times I talk to him about
> >gremlins and how he should make sure his entries are plain text, he
> >still cuts and paste things directly from M$ Word and then wonders
> >"Where did those come from? They weren't there when I added that
> >text. What did you do?"
>
> If that's using TinyMCE, enable the Paste From Word button (or the Paste
> as Plain Text button) and disable the regular Paste button :)
> --
> Ross McKay, Toronto, NSW Australia
> "Pay no attention to that man behind the curtain" - Wizard of Oz
>
Great idea in theory, if you can guarantee that they'll *only* be using
MS Office to paste from. In my experience, you can only guarantee on the
stupidity of the end users, nothing else.
Ash
www.ashleysheridan.co.uk
--- End Message ---