Email.php
system/Email/Email.php
1 class
64 methods
class Email
CodeIgniter Email Class Permits email to be sent using Mail, Sendmail, or SMTP.
__construct
($config = null)
initialize
($config)
clear
($clearAttachments = false)
setFrom
($from, $name = '', $returnPath = null)
setReplyTo
($replyto, $name = '')
setTo
($to)
setCC
($cc)
setBCC
($bcc, $limit = '')
setSubject
($subject)
setMessage
($body)
attach
($file, $disposition = '', $newname = null, $mime = '')
setAttachmentCID
($filename)
setHeader
($header, $value)
stringToArray
($email)
setAltMessage
($str)
setMailType
($type = 'text')
setWordWrap
($wordWrap = true)
setProtocol
($protocol = 'mail')
setPriority
($n = 3)
setNewline
($newline = "\n")
setCRLF
($CRLF = "\n")
getMessageID
()
getProtocol
()
getEncoding
()
getContentType
()
setDate
()
getMimeMessage
()
validateEmail
($email)
isValidEmail
($email)
cleanEmail
($email)
getAltMessage
()
wordWrap
($str, $charlim = null)
buildHeaders
()
writeHeaders
()
buildMessage
()
attachmentsHaveMultipart
($type)
appendAttachments
(&$body, $boundary, $multipart = null)
prepQuotedPrintable
($str)
prepQEncoding
($str)
send
($autoClear = true)
batchBCCSend
()
unwrapSpecials
()
removeNLCallback
($matches)
spoolEmail
()
validateEmailForShell
(&$email)
sendWithMail
()
sendWithSendmail
()
sendWithSmtp
()
SMTPEnd
()
SMTPConnect
()
sendCommand
($cmd, $data = '')
SMTPAuthenticate
()
sendData
($data)
getSMTPData
()
getHostname
()
printDebugger
($include = ['headers', 'subject', 'body'])
printDebuggerRaw
()
setErrorMessage
($msg)
mimeTypes
($ext = '')
__destruct
()
strlen
($str)
substr
($str, $start, $length = null)
setArchiveValues
()
isSMTPConnected
()