vlibMimeMail

vLIB logo

4.9. clearAll()

Function Description
 clearAll ()

This function clears the To:, Cc: and Bcc: headers at the same time. This is useful if you're looping through a list of recipients to send them an email individually.

Example

    $mail->clearAll();