-
Backend
-
Behaviors
-
FormController
-
ImportExportController
-
ListController
-
RelationController
- FormController
- ImportExportController
- ListController
- RelationController
- ReorderController
- UserPreferencesModel
-
-
Classes
-
Dashboard
-
NavigationManager
-
WidgetManager
- AuthManager
- BackendController
- Controller
- ControllerBehavior
- DashboardManager
- DashboardWidgetBase
- FilterScope
- FilterWidgetBase
- FormField
- FormTabs
- FormWidgetBase
- ListColumn
- LoginCustomization
- MainMenuItem
- NavigationManager
- ReportDataSourceBase
- ReportDataSourceManager
- ReportWidgetBase
- RoleManager
- RolePermission
- SettingsController
- SideMenuItem
- Skin
- StaticReportWidgetContainer
- VueComponentBase
- WidgetBase
- WidgetManager
- WildcardController
-
-
Controllers
-
Database
-
Facades
-
FilterWidgets
-
FormWidgets
-
Helpers
-
Models
-
BrandSetting
-
ExportModel
-
ImportModel
- AccessLog
- BrandSetting
- Dashboard
- EditorSetting
- ExportModel
- ImportModel
- Preference
- ReportDataCache
- User
- UserGroup
- UserPreference
- UserPreferenceModel
- UserRole
- UserThrottle
-
-
ReportWidgets
-
Skins
-
Traits
-
VueComponents
-
Widgets
-
Filter
-
Form
-
Lists
-
Table
- Filter
- Form
- Lists
- ListStructure
- ReportContainer
- RoleImpersonator
- Search
- SiteSwitcher
- Table
- Toolbar
-
- ServiceProvider
-
-
Cms
-
Classes
-
Controller
-
EditorExtension
-
Layout
-
Page
-
Partial
-
Theme
- AjaxResponse
- Asset
- CmsCompoundObject
- CmsController
- CmsDemoTrafficDataGenerator
- CmsException
- CmsObject
- CmsObjectCache
- CmsObjectCollection
- CmsReportDataSource
- CmsStatusDataSource
- CodeBase
- CodeParser
- ComponentBase
- ComponentBehavior
- ComponentHelpers
- ComponentManager
- ComponentModuleBase
- ComponentPartial
- Content
- Controller
- EditorExtension
- Layout
- LayoutCode
- Meta
- Page
- PageCode
- PageManager
- Partial
- PartialCode
- PartialStack
- PartialWatcher
- Router
- Snippet
- SnippetManager
- Theme
- ThemeManager
- ThisVariable
- TrafficLogger
-
-
Components
-
Console
-
Controllers
-
Database
-
Facades
-
FormWidgets
-
Helpers
-
Models
-
ReportWidgets
-
Traits
-
Twig
- AjaxPartialTokenParser
- ComponentNode
- ComponentTokenParser
- ContentNode
- ContentTokenParser
- DebugExtension
- DefaultNode
- DefaultTokenParser
- Extension
- FlashNode
- FlashTokenParser
- FrameworkNode
- FrameworkTokenParser
- GetAttrAdjuster
- GetAttrNode
- Loader
- MetaNode
- MetaTokenParser
- PageNode
- PageTokenParser
- PartialNode
- PartialTokenParser
- PlaceholderNode
- PlaceholderTokenParser
- PutNode
- PutTokenParser
- ScriptsNode
- ScriptsTokenParser
- StylesNode
- StylesTokenParser
-
VueComponents
-
Widgets
- ServiceProvider
-
-
Editor
-
Behaviors
-
Classes
-
Controllers
-
Traits
-
VueComponents
- ServiceProvider
-
-
Media
-
Classes
-
Controllers
-
FormWidgets
-
Helpers
-
Twig
-
Widgets
- ServiceProvider
-
-
System
-
Behaviors
-
Classes
-
PresetManager
-
SiteManager
-
UiManager
-
UpdateManager
- AppBase
- CombineAssets
- DependencyResolver
- DriverBehavior
- ErrorHandler
- MailManager
- ManifestCache
- MarkupExtensionItem
- MarkupManager
- ModelBehavior
- PagerElement
- PluginBase
- PluginManager
- PresetManager
- ProductDetail
- RateLimiter
- ResizeImageItem
- ResizeImages
- SettingsManager
- SettingsMenuItem
- SiteManager
- SystemController
- SystemReportDataSource
- UiElement
- UiManager
- UpdateManager
- VersionManager
-
-
Console
- ComposerScript
- OctoberAbout
- OctoberDown
- OctoberFresh
- OctoberMigrate
- OctoberMirror
- OctoberOptimize
- OctoberPasswd
- OctoberUp
- OctoberUpdate
- OctoberUtil
- OctoberUtilCommands
- OctoberUtilPatches
- OctoberUtilRefitLang
- PluginCheck
- PluginDisable
- PluginEnable
- PluginInstall
- PluginList
- PluginRefresh
- PluginRemove
- PluginSeed
- PluginTest
- ProjectSync
-
Controllers
-
Database
-
Facades
-
Helpers
-
Middleware
-
Models
-
ReportWidgets
-
Traits
-
Twig
-
Widgets
- ServiceProvider
-
-
Tailor
-
Behaviors
-
Classes
-
Blueprint
-
BlueprintIndexer
-
EditorExtension
-
Relations
-
SchemaBuilder
-
Scopes
- Blueprint
- BlueprintCollection
- BlueprintErrorData
- BlueprintException
- BlueprintIndexer
- BlueprintModel
- BlueprintVerifier
- ComponentVariable
- ContentFieldBase
- EditorExtension
- FieldManager
- Fieldset
- NavigationItem
- PermissionItem
- RecordIndexer
- SchemaBuilder
- SchemaPruner
-
-
Components
-
Console
-
ContentFields
-
Controllers
-
Models
-
EntryRecord
-
GlobalRecord
-
RecordImport
- ContentSchema
- EntryRecord
- GlobalRecord
- NestedFormItem
- PreviewToken
- RecordExport
- RecordImport
- RepeaterItem
-
-
Traits
-
VueComponents
- ServiceProvider
-
-
Events
-
backend
-
ajax
-
brand
-
files
-
filter
-
form
-
list
-
menu
-
page
-
roles
-
site
-
user
-
-
cms
-
ajax
-
block
-
combiner
-
component
-
internalTrafficStatistics
-
object
-
page
-
pageLookup
-
resizer
-
router
-
sitePicker
-
template
-
theme
- extendTwig
-
-
deferredBinding
-
editor
-
extension
-
-
exception
-
halcyon
-
datasource
-
-
mailer
-
media
-
model
-
auth
-
filter
-
form
-
relation
-
/docs/api/model/relation/add
-
/docs/api/model/relation/associate
- attach
-
/docs/api/model/relation/beforeadd
-
/docs/api/model/relation/beforeassociate
- beforeAttach
- beforeDetach
-
/docs/api/model/relation/beforedissociate
-
/docs/api/model/relation/beforeremove
- detach
-
/docs/api/model/relation/dissociate
-
/docs/api/model/relation/remove
-
-
/docs/api/model/afterboot
-
/docs/api/model/aftercreate
-
/docs/api/model/afterdelete
-
/docs/api/model/afterfetch
-
/docs/api/model/afterinit
- afterRelation
- afterRestore
-
/docs/api/model/aftersave
- afterTrash
-
/docs/api/model/afterupdate
- afterValidate
-
/docs/api/model/beforecreate
-
/docs/api/model/beforedelete
-
/docs/api/model/beforefetch
- beforeGetAttribute
- beforeRelation
- beforeReplicate
- beforeRestore
-
/docs/api/model/beforesave
- beforeSetAttribute
-
/docs/api/model/beforeupdate
- beforeValidate
- extendBlueprint
- getAttribute
- newInstance
- saveInternal
- setAttribute
-
-
pages
-
snippet
-
-
site
-
system
-
assets
- beforeAddAsset
-
/docs/api/system/assets/beforebundleasset
-
console
-
mirror
-
-
mail
-
reportwidgets
-
resizer
-
settings
-
site
-
updater
- extendConfigFile
- extendTwig
-
-
tailor
-
user
-
-
Library
-
Argon
-
Assetic
-
Asset
-
Cache
-
Exception
-
Factory
-
Filter
-
Traits
-
Util
- README
- AsseticServiceProvider
- AssetManager
- AssetWriter
- Combiner
- FilterManager
-
-
Auth
-
Combine
-
Composer
-
Config
-
Database
-
Attach
-
Concerns
-
Connections
-
Connectors
-
Factories
-
Models
-
Relations
-
Schema
-
Scopes
-
Traits
-
Updates
- README
- Builder
- Collection
- DatabaseServiceProvider
- Dongle
- ExpandoModel
- MigrationServiceProvider
- Model
- ModelBehavior
- ModelException
- MorphPivot
- NestedTreeScope
- Pivot
- QueryBuilder
- Replicator
- SortableScope
- TreeCollection
- Updater
-
-
Element
-
Filter
-
Form
-
Lists
-
Navigation
- ElementBase
- ElementHolder
-
-
Events
-
Exception
-
Extension
-
Filesystem
-
Flash
-
Foundation
-
Bootstrap
-
Console
-
Exception
-
Http
-
Middleware
- Kernel
-
-
Providers
- Application
-
-
Halcyon
-
Concerns
-
Datasource
-
Exception
-
Processors
-
Traits
- README
- Builder
- Collection
- HalcyonServiceProvider
- Model
-
-
Html
-
Mail
-
Network
-
Parse
-
Resize
-
Router
-
Scaffold
-
Support
-
Debug
-
Facades
-
Traits
- README
- Arr
- ClassLoader
- Collection
- Facade
- ModuleServiceProvider
- SafeCollection
- ServiceProvider
- Singleton
- Str
-
-
Translation
-
Validation
-
- Documentation
- API
- Library
- Mailer
October\Rain\Mail\Mailer
Overview
Mailer class for sending mail.
Extends
- Illuminate\Mail\Mailer
Implements
- Illuminate\Contracts\Mail\MailQueue
- Illuminate\Contracts\Mail\Mailer
Protected Properties
protected string $pretendingOriginal
pretendingOriginal contains the original driver before pretending.
protected array $emitterSingleEventCollection
emitterSingleEventCollection of events to be fired once only
protected array $emitterEventCollection
emitterEventCollection of all registered events
protected array $emitterEventSorted
emitterEventSorted collection
Show inherited protected properties
Inherited Protected Properties
- $name - The name that is configured for the mailer. (defined in Illuminate\Mail\Mailer)
- $views - The view factory instance. (defined in Illuminate\Mail\Mailer)
- $transport - The Symfony Transport instance. (defined in Illuminate\Mail\Mailer)
- $events - The event dispatcher instance. (defined in Illuminate\Mail\Mailer)
- $from - The global from address and name. (defined in Illuminate\Mail\Mailer)
- $replyTo - The global reply-to address and name. (defined in Illuminate\Mail\Mailer)
- $returnPath - The global return path address. (defined in Illuminate\Mail\Mailer)
- $to - The global to address and name. (defined in Illuminate\Mail\Mailer)
- $queue - The queue factory implementation. (defined in Illuminate\Mail\Mailer)
- $macros - The registered string macros. (defined in Illuminate\Mail\Mailer)
Public Methods
public bindEvent()
public bindEvent($event, $callback, $priority = 0): void
bindEvent creates a new event binding
public bindEventOnce()
public bindEventOnce($event, $callback, $priority = 0): void
bindEventOnce creates a new event binding that fires once only
public fireEvent()
public fireEvent( string $event, array $params = [], boolean $halt = false ): array
fireEvent and call the listeners
public later()
public later( int $delay, string|array $view, array $data = null, Closure|string $callback = null, string|null $queue = null ): mixed
later queues a new e-mail message for sending after (n) seconds.
public laterOn()
public laterOn( string $queue, int $delay, string|array $view, array $data = null, Closure|string $callback = null ): mixed
laterOn queues a new e-mail message for sending after (n) seconds on the given queue.
public pretend()
public pretend(bool $value = true): void
pretend tells the mailer to not really send messages.
public queue()
public queue( string|array $view, array $data = null, Closure|string $callback = null, string|null $queue = null ): mixed
queue a new e-mail message for sending.
public queueOn()
public queueOn( string $queue, string|array $view, array $data = null, Closure|string $callback = null ): mixed
queueOn queues a new e-mail message for sending on the given queue.
public raw()
public raw(string $text, mixed $callback): int
raw sends a new message when only a raw text part.
public rawTo()
public rawTo( array $recipients, string $view, mixed $callback = null, array $options = [] ): int
rawTo helper for raw() method, send a new message when only a raw text part.
public send()
public send( string|array $view, array $data = [], Closure|string $callback = null ): mixed
send a new message using a view.
public sendTo()
public sendTo( array $recipients, string|array $view, array $data = [], mixed $callback = null, array $options = [] ): void
sendTo is a helper for send() method, the first argument can take a single email or an array of recipients where the key is the address and the value is the name.
public unbindEvent()
public unbindEvent($event = null): void
unbindEvent destroys an event binding
Inherited Public Methods
- __call() - Dynamically handle calls to the class. (defined in Illuminate\Mail\Mailer)
- __callStatic() - Dynamically handle calls to the class. (defined in Illuminate\Mail\Mailer)
- __construct() - Create a new Mailer instance. (defined in Illuminate\Mail\Mailer)
- alwaysFrom() - Set the global from address and name. (defined in Illuminate\Mail\Mailer)
- alwaysReplyTo() - Set the global reply-to address and name. (defined in Illuminate\Mail\Mailer)
- alwaysReturnPath() - Set the global return path address. (defined in Illuminate\Mail\Mailer)
- alwaysTo() - Set the global to address and name. (defined in Illuminate\Mail\Mailer)
- bcc() - Begin the process of mailing a mailable class instance. (defined in Illuminate\Mail\Mailer)
- cc() - Begin the process of mailing a mailable class instance. (defined in Illuminate\Mail\Mailer)
- flushMacros() - Flush the existing macros. (defined in Illuminate\Mail\Mailer)
- getSymfonyTransport() - Get the Symfony Transport instance. (defined in Illuminate\Mail\Mailer)
- getViewFactory() - Get the view factory instance. (defined in Illuminate\Mail\Mailer)
- hasMacro() - Checks if macro is registered. (defined in Illuminate\Mail\Mailer)
- html() - Send a new message with only an HTML part. (defined in Illuminate\Mail\Mailer)
- macro() - Register a custom macro. (defined in Illuminate\Mail\Mailer)
- mixin() - Mix another object into the class. (defined in Illuminate\Mail\Mailer)
- onQueue() - Queue a new e-mail message for sending on the given queue. (defined in Illuminate\Mail\Mailer)
- plain() - Send a new message with only a plain part. (defined in Illuminate\Mail\Mailer)
- render() - Render the given message as a view. (defined in Illuminate\Mail\Mailer)
- setQueue() - Set the queue manager instance. (defined in Illuminate\Mail\Mailer)
- setSymfonyTransport() - Set the Symfony Transport instance. (defined in Illuminate\Mail\Mailer)
- to() - Begin the process of mailing a mailable class instance. (defined in Illuminate\Mail\Mailer)
Protected Methods
protected addContent()
protected addContent( Illuminate\Mail\Message $message, string $view, string $plain, string $raw, array $data ): void
addContent to a given message.
protected addContentRaw()
protected addContentRaw( Illuminate\Mail\Message $message, string $html, string $text ): void
addContentRaw to a given message.
protected buildQueueMailable()
protected buildQueueMailable( mixed $callback, $data, $callback, $queue ): mixed
buildQueueMailable for a queued email job.
protected emitterEventSortEvents()
protected emitterEventSortEvents($eventName, $combined = []): array
emitterEventSortEvents sorts the listeners for a given event by priority
protected processRecipients()
protected processRecipients(mixed $recipients): array
processRecipients object, which can look like the following:
- (string) admin@domain.tld
- (object) ['email' => 'admin@domain.tld', 'name' => 'Adam Person']
- (array) ['admin@domain.tld' => 'Adam Person', ...]
- (array) [ (object|array) ['email' => 'admin@domain.tld', 'name' => 'Adam Person'], [...] ]
Show inherited protected methods
Inherited Protected Methods
- createMessage() - Create a new message instance. (defined in Illuminate\Mail\Mailer)
- dispatchSentEvent() - Dispatch the message sent event. (defined in Illuminate\Mail\Mailer)
- parseView() - Parse the given view name or array. (defined in Illuminate\Mail\Mailer)
- renderView() - Render the given view. (defined in Illuminate\Mail\Mailer)
- sendMailable() - Send the given mailable. (defined in Illuminate\Mail\Mailer)
- sendSymfonyMessage() - Send a Symfony Email instance. (defined in Illuminate\Mail\Mailer)
- setGlobalToAndRemoveCcAndBcc() - Set the global "to" address on the given message. (defined in Illuminate\Mail\Mailer)
- shouldSendMessage() - Determines if the email can be sent. (defined in Illuminate\Mail\Mailer)