[imp] HTML Inline Signature

Michael M Slusarz slusarz at horde.org
Thu Nov 21 06:08:06 UTC 2013


Quoting Philipp Weber <p.weber at medial-networks.de>:

> Hello folks
>
> i`ve got a problem.
>
> Im trying to use a html file as an inline html signature, but it wont work.
>
> The target is, to show the html file, which is on a webserver, as  
> the signature.
>
> I changed the maximum size to 0, so that this can`t be a problem now.
>
> My code:
>
> {
>     if ($html) {
>         return '<iframe src="http://xxx.xx/xxxx.html"><a  
> href="http://xxx.xx/xxxx.html">TEST</a></p></iframe>';
>     } else {
>         return "------------------------------------\n" .
>                "NO HTML!;
>     }
> }
>
> Is there a error in my syntax?

Sending IFRAMEs in HTML message data is a terrible idea.  That's going  
to be stripped out by any halfway competent HTML sanitizer.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list