symfony API

sfMail Class

« Back to API menu

action

addon

autoload

cache

command

config

controller

creole

database

debug

exception

filter

form

generator

helper

i18n

log

plugin

propel

request

response

routing

storage

task

test

user

util

validator

view

widget

You are currently browsing the symfony documentation for the 1.1 version. Switch to:

sfMail class.

Method Summary

Method Details

  • setAttachments ($attachments)

  • addBcc ($address, $name = null)

  • getFrom ()

  • getContentType ()

  • addStringAttachment ($string, $filename, $encoding = 'base64', $type = 'application/octet-stream')

  • setPort ($port)

  • addAddress ($address, $name = null)

  • getSender ()

  • __construct ()

  • setBody ($body)

  • setMailer ($type = 'mail', $options = array())

  • getMailer ()

  • clearCustomHeaders ()

  • setPassword ($password)

  • clearAddresses ()

  • setFrom ($address, $name = null)

  • addCc ($address, $name = null)

  • getPriority ()

  • getSubject ()

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

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

  • setCharset ($charset)

  • getRawHeader ()

  • setEncoding ($encoding)

  • setDomain ($hostname)

  • initialize ()

  • getAltBody ()

  • clearAttachments ()

  • clearBccs ()

  • clearReplyTos ()

  • getUsername ()

  • setHostname ($hostname)

  • getPassword ()

  • setPriority ($priority)

  • setAltBody ($text)

  • prepare ()

  • addCustomHeader ($name, $value)

  • getBody ()

  • getCharset ()

  • setUsername ($username)

  • smtpClose ()

  • addAddresses ($addresses)

  • setSender ($address, $name = null)

  • getEncoding ()

  • getDomain ()

  • clearCcs ()

  • setSubject ($subject)

  • getHostname ()

  • getRawBody ()

  • setWordWrap ($wordWrap)

  • setContentType ($content_type)

  • getPort ()

  • addReplyTo ($address, $name = null)

  • send ()

  • getWordWrap ()

  • clearAllRecipients ()