db
Mail Class Reference

Public Member Functions

 getFrom ()
 
 setFrom ($email, $name=NULL)
 
 getReplyTo ()
 
 addReplyTo ($email, $name=NULL)
 
 getTo ()
 
 addTo ($email, $name=NULL)
 
 getSubject ()
 
 getBody ()
 
 getAltBody ()
 
 setSubject ($subject)
 
 setBody ($body)
 
 setAltBody ($altBody)
 
 isHtml ()
 
 setHtml ($html)
 
 getAttachments ()
 
 addAttachment ($path, $name='', $type='application/octet-stream', $encoding='base64')
 

Protected Attributes

 $from = NULL
 
 $replyTo = []
 
 $to = []
 
 $subject
 
 $html
 
 $body
 
 $altBody = NULL
 
 $attachments = []
 

Member Function Documentation

◆ addAttachment()

addAttachment (   $path,
  $name = '',
  $type = 'application/octet-stream',
  $encoding = 'base64' 
)

pridava prilohu do mailu

Parameters
string$pathcesta k souboru
string$namenazev souboru
string$typemime type souboru
string$encodingkodovani souboru
Returns
type

◆ addReplyTo()

addReplyTo (   $email,
  $name = NULL 
)
Parameters
string$email
string$name

◆ addTo()

addTo (   $email,
  $name = NULL 
)
Parameters
string$email
string$name

◆ getAltBody()

getAltBody ( )

◆ getAttachments()

getAttachments ( )

◆ getBody()

getBody ( )

◆ getFrom()

getFrom ( )

◆ getReplyTo()

getReplyTo ( )

◆ getSubject()

getSubject ( )

◆ getTo()

getTo ( )

◆ isHtml()

isHtml ( )

◆ setAltBody()

setAltBody (   $altBody)

◆ setBody()

setBody (   $body)

◆ setFrom()

setFrom (   $email,
  $name = NULL 
)
Parameters
string$email
string$name

◆ setHtml()

setHtml (   $html)

◆ setSubject()

setSubject (   $subject)

Member Data Documentation

◆ $altBody

$altBody = NULL
protected

◆ $attachments

$attachments = []
protected

◆ $body

$body
protected

◆ $from

$from = NULL
protected

odesilatel emailu pole ['name' => 'Jmeno Co se ma zobrazit', 'email' => 'nekde.nosp@m.@nek.nosp@m.do.cz']

◆ $html

$html
protected

◆ $replyTo

$replyTo = []
protected

◆ $subject

$subject
protected

◆ $to

$to = []
protected

The documentation for this class was generated from the following file: