Version: current

# Class NewsletterEmailProcess

Batch process for sending newsletters.

  Object
  BatchProcess
  NewsletterEmailProcess

Package: newsletter
Located at newsletter/code/NewsletterEmailProcess.php

## Methods summary

`public` | # `__construct( mixed $subject, mixed $body, mixed $from, mixed $newsletter, mixed $nlType, mixed $messageID = null, mixed $recipients )` Set up a Newsletter Email Process Set up a Newsletter Email Process #### Parameters $subject $recipients DataObjectSet The recipients of this newsletter $body $from $newsletter $nlType $messageID $recipients #### Overrides `BatchProcess::__construct`
`public` | # `next( mixed $count = 10 )` #### Overrides `BatchProcess::next`
`public` | # `complete( )` #### Overrides `BatchProcess::complete`

### Methods inherited from BatchProcess

`__wakeup()`, `addProcess()`, `generateID()`, `getID()`, `removeProcess()`, `runToCompletion()`, `start()`

### Methods inherited from Object

`__call()`, `__toString()`, `addMethodsFrom()`, `addStaticVars()`, `addWrapperMethod()`, `add_extension()`, `add_static_var()`, `allMethodNames()`, `cacheToFile()`, `cacheToFileWithArgs()`, `clearCache()`, `combined_static()`, `create()`, `createMethod()`, `create_from_string()`, `defineMethods()`, `exists()`, `extInstance()`, `extend()`, `getCustomClass()`, `getExtensionInstance()`, `getExtensionInstances()`, `get_extensions()`, `get_static()`, `hasExtension()`, `hasMethod()`, `has_extension()`, `invokeWithExtensions()`, `is_a()`, `loadCache()`, `parentClass()`, `parse_class_spec()`, `remove_extension()`, `sanitiseCachename()`, `saveCache()`, `set_stat()`, `set_static()`, `set_uninherited()`, `stat()`, `strong_create()`, `uninherited()`, `uninherited_static()`, `useCustomClass()`

### Magic methods summary

## Properties summary

`protected mixed` | $subject | #
`protected mixed` | $body | #
`protected mixed` | $from | #
`protected mixed` | $newsletter | #
`protected mixed` | $nlType | #
`protected mixed` | $messageID | #

### Properties inherited from BatchProcess

`$current`, `$id`, `$objects`, `$scriptOutput`

### Properties inherited from Object

`$class`, `$extension_instances`, `$extensions`

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -