CodeIgniter Forums

Full Version: Email Class Attachments and Clear()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum


Not sure if this is a bug, but calling $this->email->clear(); does not seem to clear the attachments.

El Forum

Have you read the manual fully?
Quote:If you set the parameter to TRUE any attachments will be cleared as well:

It is on purpose; if you need to send the same attachment to multiple people, the file doesn't have to be read every time.

El Forum

nvm, replied too fast, thnx