Creates an email link on a Web page that is not easily harvested by breaking up the Url.
<%= MailLink('rickstrahl@hotmail.com','Rick Strahl') %>
This generates a block of JavaScript that looks like this:
<a href="javascript:_1RD1EEIV5('rickstrahl','hotmail.com');">Rick Strahl</a><script> function _1RD1EEIV5(eValue,Text) { alert('hello'); var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;window.open(Link);}</script>
which in turn opens the mail client.
o.MailLink(lcEmail,lcText,lcSubject,lcMessage)
Parameters
lcEmail
The Email address
lcText
The text of the link
lcSubject
Optional - preseeded subject for the message
lcMessage
Optional - preseeded message body for the message.
See also:
Library wwUtils© West Wind Technologies, 1996-2024 • Updated: 03/20/06
Comment or report problem with topic