Platform  3.1
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")
 
 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

Definition at line 141 of file sendmail.php.

Constructor & Destructor Documentation

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

Definition at line 252 of file sendmail.php.

Member Function Documentation

& _addAttachmentPart ( $obj,
  $value 
)

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

Parameters
objectThe mimePart to add the image to
arrayThe attachment information
Returns
object The image mimePart object private

Definition at line 220 of file sendmail.php.

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

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 158 of file sendmail.php.

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

Definition at line 184 of file sendmail.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen - published under CC License - Dynacase