Previous Next blank.gif blank.gif

Class MailTo - A Mailto href


SYNOPSIS

import HTMLgen
class MailTo
  def __init__(self, address='', text=None, subject=None)
  string __module__ = 'HTMLgen'
  def __str__(self)
  def antispam(self, address)
alias MAILTO = MailTo
alias Mailto = MailTo

DESCRIPTION

First argument is an email address, optional second argument is the text shown as the underlined hyperlink. Default is the email address. Optional third argument is a Subject: for the email.

def antispam(self, address)

Process a string with HTML encodings to defeat address spiders.

SEE ALSO

HTMLgen


Previous Next blank.gif blank.gif
Buzz.gif

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Tue Apr 20, 1999