[Mimedefang] Want to modify "read-receipt" img tags in mail

Joseph Brennan brennan at columbia.edu
Thu May 20 15:08:30 EDT 2004


> I believe this is the correct course of action for non embedded images per
> the other post ideas.  My pseudocode therefore is:
>
> search for
>  <img src=(http|https)(.*)>
>
> replace with
>
>   <a href=$1$2><img
> src=http://mydomain.com/image_describing_click_here_to_view_possibly_unsa
> fe_ image></a>
>
> perform this action on BOTH text/plain and text/html parts using
> HTML::Parser for the html and perl for the text/plain.
>
> Any comments on this course of action?



or replace with

  <a href=$1$2>IMAGE</a>

and leave the plain text alone.  Almost the same thing.

I'd like to see this written out with HTML::Parser when you do it.

Joseph Brennan
Academic Technologies Group, Academic Information Systems (AcIS)
Columbia University in the City of New York




More information about the MIMEDefang mailing list