Skip to content

Added reset method#29

Open
onassar wants to merge 1 commit intoZnarkus:masterfrom
onassar:master
Open

Added reset method#29
onassar wants to merge 1 commit intoZnarkus:masterfrom
onassar:master

Conversation

@onassar
Copy link
Contributor

@onassar onassar commented Jan 7, 2015

To preserve memory, it's useful to reuse a Mail reference
However doing so can cause recipients to spill over
eg. when using the addTo method, any previously added recipients would continue to be sent the next piece of mail
Adding the ability to reset these arrays makes the process easier

To preserve memory, it's useful to reuse a Mail reference
However doing so can cause recipients to spill over
eg. when using the `addTo` method, any previously added recipients would continue to be sent the next piece of mail
Adding the ability to reset these arrays makes the process easier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant