Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: c:/web/jpeto2/jpeto/jpeto_multipart_message.php
JPETo - James's Publishing & Editing Tool - jpeto_objects

jpeto_multipart_message

jpeto_multipart_message

This class provides the multipart message object

 

private class jpeto_multipart_message

This class provides the multipart message object

 
Direct known subclasses: jpeto_ecard, jpeto_order

Public Method Summary

void

jpeto_multipart_message()

Constructor of jpeto_multipart_message

Private Method Summary

void

setRecipient([ string $name ], string $mail)

sets the recipient // 2DO: multiple recipients?
void

setSender([ string $name ], string $mail)

sets the sender
void

attach(integer $UniqueID, [ string $Language, string $Version, string $mode ])

adds the object with the given jpeto_key to the current message
string

getAlternativeHeader()

returns the Mail Header for the current Object
string

getTextPartHeader()

returns the TextPart Header
string

getRelatedHeader()

returns the Related Header
string

getHtmlPartHeader()

returns the HtmlPart Header
string

getRelatedFooter()

returns the Related Footer
string

getAlternativeFooter()

returns the Alternative Footer
string

getMailData()

returns the complete message body, including TextPart, HtmlPart & ImagePart.
string

getTextBody()

returns the text part of the body
string

getHtmlBody()

returns the html part of the body
boolean

send()

Sends the current multipart message
void

log()

Warning: documentation is missing.

Private Field Summary

string

$alternativeBoundary

header
string

$relatedBoundary

relatedBoundary
string

$HtmlMail

HtmlMail
string

$TextMail

TextMail
array

$Attachment

Attachment
string

$r_name

Recipient's Name
string

$r_mail

Recipient's Email Address
string

$s_name

Sender's Name
string

$s_mail

Sender's Email Address
string

$subject

Subject of the Message

Included files Summary, Type: include_once

jpeto/jpeto_attachment.php Warning: documentation is missing.

Public Method Details

jpeto_multipart_message

public void jpeto_multipart_message( )

  Constructor of jpeto_multipart_message

Returns void


Private Method Details

setRecipient

private void setRecipient( [ string $name ], string $mail )

  sets the recipient // 2DO: multiple recipients?

Parameter
string $name = >>""<<
the name of the recipient
string $mail
the email-address of the recipient
Returns void


setSender

private void setSender( [ string $name ], string $mail )

  sets the sender

Parameter
string $name = >>""<<
the name of the sender
string $mail
the email-address of the sender
Returns void


attach

private void attach( integer $UniqueID, [ string $Language, string $Version, string $mode ] )

  adds the object with the given jpeto_key to the current message

Parameter
integer $UniqueID
the UniqueID of the object
string $Language = >>"DE"<<
the Language of the object
string $Version = >>"O"<<
the Version of the object
string $mode = >>"inline"<<
[inline | attached]
Returns void


getAlternativeHeader

private string getAlternativeHeader( )

  returns the Mail Header for the current Object

Returns string $Header


getTextPartHeader

private string getTextPartHeader( )

  returns the TextPart Header

Returns string $Header


getRelatedHeader

private string getRelatedHeader( )

  returns the Related Header

Returns string $Header


getHtmlPartHeader

private string getHtmlPartHeader( )

  returns the HtmlPart Header

Returns string $Header


getRelatedFooter

private string getRelatedFooter( )

  returns the Related Footer

Returns string $Footer


getAlternativeFooter

private string getAlternativeFooter( )

  returns the Alternative Footer

Returns string $Footer


getMailData

private string getMailData( )

  returns the complete message body, including TextPart, HtmlPart & ImagePart.

Returns string $MailData


getTextBody

private string getTextBody( )

  returns the text part of the body

Returns string $TextBody


getHtmlBody

private string getHtmlBody( )

  returns the html part of the body

Returns string $HtmlBody


send

private boolean send( )

  Sends the current multipart message

Returns boolean $success


log

private void log( )

 

Warning: documentation is missing.

Returns void


Private Field Details

$alternativeBoundary

private string $alternativeBoundary

>>""<<

header


$relatedBoundary

private string $relatedBoundary

>>""<<

relatedBoundary


$HtmlMail

private string $HtmlMail

>>""<<

HtmlMail


$TextMail

private string $TextMail

>>""<<

TextMail


$Attachment

private array $Attachment

>>array()<<

Attachment


$r_name

private string $r_name

>>""<<

Recipient's Name


$r_mail

private string $r_mail

>>""<<

Recipient's Email Address


$s_name

private string $s_name

>>""<<

Sender's Name


$s_mail

private string $s_mail

>>""<<

Sender's Email Address


$subject

private string $subject

>>""<<

Subject of the Message


Included Files, Type: include_once

jpeto/jpeto_attachment.php

include_once( jpeto/jpeto_attachment.php )




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta