phpDocumentor Smarty
[ class tree: Smarty ] [ index: Smarty ] [ all elements ]

Procedural File: function.mailto.php

Source Location: /phpDocumentor/Smarty-2.6.0/libs/plugins/function.mailto.php

Page Details

Smarty plugin

Filesource:  Source Code for this file
smarty_function_mailto  [line 49]

string smarty_function_mailto( array $params, Smarty &$smarty  )

Smarty {mailto} function plugin

Type: function
Name: mailto
Date: May 21, 2002 Purpose: automate mailto address link creation, and optionally encode them.

  • address = e-mail address
  • text = (optional) text to display, default is address
  • encode = (optional) can be one of: * none : no encoding (default) * javascript : encode with javascript * hex : encode with hexidecimal (no javascript)
  • cc = (optional) address(es) to carbon copy
  • bcc = (optional) address(es) to blind carbon copy
  • subject = (optional) e-mail subject
  • newsgroups = (optional) newsgroup(s) to post to
  • followupto = (optional) address(es) to follow up to
  • extra = (optional) extra tags for the href link
 {mailto address="[email protected]"}
 {mailto address="[email protected]" encode="javascript"}
 {mailto address="[email protected]" encode="hex"}
 {mailto address="[email protected]" subject="Hello to you!"}
 {mailto address="[email protected]" cc="[email protected],[email protected]"}
 {mailto address="[email protected]" extra='class="mailto"'}

array   $params: 
Smarty   &$smarty: 

Information Tags:
Author:  Monte Ohrt <[email protected]>
Author:  credits to Jason Sweat (added cc, bcc and subject functionality)
Version:  1.2
Link: {mailto} (Smarty online manual)

[ Top ]

Documentation generated on Tue, 24 Oct 2006 09:22:42 -0500 by phpDocumentor 1.3.1