• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Email Class Attachments and Clear()

#1
[eluser]Unknown[/eluser]
Hi,

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

#2
[eluser]mddd[/eluser]
Have you read the manual fully?
Quote:If you set the parameter to TRUE any attachments will be cleared as well:
Code:
$this->email->clear(TRUE);

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.

#3
[eluser]Unknown[/eluser]
nvm, replied too fast, thnx


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.