PEAR Manual
Prev |  | Next

# Net_SMTP::quotedata()

Net_SMTP::quotedata() -- Quote the data so that it meets SMTP standards.

## Synopsis

    require_once 'NET/SMTP.php';

``void Net_SMTP::quotedata` (string &$data)`

## Description

This is provided as a separate public function to facilitate easier overloading for the cases where it is desirable to customize the quoting behavior.

## Parameter

string `&$data`

  The message text to quote. The string must be passed by reference, and the text will be modified in place.

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Net_SMTP::noop() | Up | Net_SMTP::rcptTo()