[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/ -> mail.php (summary)

Mail functions

Author: Andreas Gohr
License: GPL 2 (http://www.gnu.org/licenses/gpl.html)
File Size: 168 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  mail_setup()
  mail_isvalid()
  mail_quotedprintable_encode()
  mail_quotedprintable_encode_callback()

Functions
Functions that are not part of a class:

mail_setup()   X-Ref
Prepare mailfrom replacement patterns

Also prepares a mailfromnobody config that contains an autoconstructed address
if the mailfrom one is userdependent and this might not be wanted (subscriptions)

author: Andreas Gohr <andi@splitbrain.org>

mail_isvalid($email)   X-Ref
Check if a given mail address is valid

return: bool          true if address is valid
param: string $email the address to check

mail_quotedprintable_encode($sText, $maxlen = 74, $bEmulate_imap_8bit = true)   X-Ref
Quoted printable encoding

return: string
param: string $sText
param: int $maxlen
param: bool $bEmulate_imap_8bit
author: umu <umuAThrz.tu-chemnitz.de>
link: http://php.net/manual/en/function.imap-8bit.php#61216

mail_quotedprintable_encode_callback($matches)   X-Ref
No description