# tasks/ext/MailTask.php

Send an e-mail message

The build process is a success...

Author
  Francois Harvey at SecuriWeb (http://www.securiweb.net)
Package
  phing.tasks.ext
Version
  $Id: MailTask.php 992 2010-11-16 12:28:11Z mrook $

## \MailTask
jump to top

Package: phing\tasks\ext

Send an e-mail message

The build process is a success...

Parent(s)
  \Task < \ProjectComponent
Author
  Francois Harvey at SecuriWeb (http://www.securiweb.net)
Version
  $Id: MailTask.php 992 2010-11-16 12:28:11Z mrook $

### Properties

`$filesets= 'array()'`
Default value `array()`Details

Type
  n/a

`$from= 'null'`
Default value `null` Details

Type
  n/a

`$msg= 'null'`
Default value `null` Details

Type
  n/a

`$subject= 'null'`
Default value `null` Details

Type
  n/a

`$tolist= 'null'`
Default value `null` Details

Type
  n/a

### Methods

`addText( $msg ) : void`

Supports the Message syntax.

Parameters

Name | Type | Description
--- | --- | ---
$msg |  |

`createFileSet( ) : void`

Adds a fileset

`getDescription( ) : void`

`getLocation( ) : void`

`getOwningTarget( ) : void`

`getProject( ) : void`

`getRegisterSlot( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`init( ) : void`

`log( ) : void`

`main( ) : void`

`maybeConfigure( ) : void`

`perform( ) : void`

`setDescription( ) : void`

`setFrom( $from ) : void`

Sets email address of sender

Parameters

Name | Type | Description
--- | --- | ---
$from |  |

`setLocation( ) : void`

`setMessage( $msg ) : void`

Alias setter

Parameters

Name | Type | Description
--- | --- | ---
$msg |  |

`setMsg( $msg ) : void`

Setter for message

Parameters

Name | Type | Description
--- | --- | ---
$msg |  |

`setOwningTarget( ) : void`

`setProject( ) : void`

`setRecipient( $recipient ) : void`

Alias for (deprecated) recipient

Parameters

Name | Type | Description
--- | --- | ---
$recipient |  |

`setRuntimeConfigurableWrapper( ) : void`

`setSubject( $subject ) : void`

Setter for subject

Parameters

Name | Type | Description
--- | --- | ---
$subject |  |

`setTaskName( ) : void`

`setTaskType( ) : void`

`setTo( $to ) : void`

Alias for to

Parameters

Name | Type | Description
--- | --- | ---
$to |  |

`setToList( $tolist ) : void`

Setter for tolist

Parameters

Name | Type | Description
--- | --- | ---
$tolist |  |

Documentation was generated by DocBlox 0.17.1.