Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Fdl_Mail_mime Class Reference
+ Inheritance diagram for Fdl_Mail_mime:
+ Collaboration diagram for Fdl_Mail_mime:

Public Member Functions

 addAttachment ($file, $c_type= 'application/octet-stream', $name= '', $isfilename=true, $encoding= 'base64', $cid= '', $charset="UTF-8", $language= '', $location= '', $n_encoding=null, $f_encoding=null, $description= '')
 
 addAttachmentInline ($file, $c_type= 'application/octet-stream', $name= '', $isfilename=true, $encoding= 'base64', $cid= '', $charset="UTF-8")
 
_addAttachmentPart (&$obj, $value)
 
 __construct ($crlf="\r\n")
 

Detailed Description

redefine class to add explicit CID

Deprecated:
use instead

Definition at line 10 of file Class.Fdl_Mail_Mime.php.

Constructor & Destructor Documentation

__construct (   $crlf = "\r\n")

Definition at line 121 of file Class.Fdl_Mail_Mime.php.

Member Function Documentation

& _addAttachmentPart ( $obj,
  $value 
)

Adds an attachment subpart to a mimePart object and returns it during the build process.

Parameters
Fdl_Mail_mimePart$objThe mimePart to add the image to
array$valueThe attachment information
Returns
Fdl_Mail_mimePart The image mimePart object private

Definition at line 89 of file Class.Fdl_Mail_Mime.php.

addAttachment (   $file,
  $c_type = 'application/octet-stream',
  $name = '',
  $isfilename = true,
  $encoding = 'base64',
  $cid = '',
  $charset = "UTF-8",
  $language = '',
  $location = '',
  $n_encoding = null,
  $f_encoding = null,
  $description = '' 
)

Adds a file to the list of attachments.

Parameters
string$fileThe file name of the file to attach OR the file data itself
string$c_typeThe content type
string$nameThe filename of the attachment Only use if $file is the file data
bool$isFilenameWhether $file is a filename or not Defaults to true
Returns
mixed true on success or PEAR_Error object public

Definition at line 27 of file Class.Fdl_Mail_Mime.php.

addAttachmentInline (   $file,
  $c_type = 'application/octet-stream',
  $name = '',
  $isfilename = true,
  $encoding = 'base64',
  $cid = '',
  $charset = "UTF-8" 
)

Definition at line 53 of file Class.Fdl_Mail_Mime.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen