Download & Extend

Use invisimail as an API of sorts

Project:Invisimail
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Sometimes in custom theming and such I could reuse some of the functions of invisimail, but because of the way they pass their variables this is somewhat of a hack. This cleans that up and makes it possible to call the function as

<?php
invisimail_ascii_encode
($string, $js = FALSE, $link = FALSE, $text = NULL)
?>

Where string is the email address to be encoded, $js and $link are boolean for using Javascript and making a link, and $text is an optional string to use for the link text.

With docs.

AttachmentSize
invisimail_api_1.patch2.16 KB

Comments

#1

Status:needs review» reviewed & tested by the community

Applied & tested. Works as advertised. I use this API function for some special cases.

Thx for the patch.

#2

Status:reviewed & tested by the community» fixed

Committed, both to D5 and the new D6 port. Came in helpful for #270377: Use invisimail as a CCK formatter, too. Thanks!

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here