[Network] [Mail] Added reset() function to make the class reentrant
Review Request #234 — Created Nov. 1, 2013 and submitted — Latest diff uploaded
Information | |
---|---|
andrea | |
Lunr | |
unit_refactoring_mail | |
|
|
Reviewers | |
lunr | |
A reset function is added and called at the end of send(), in order to clean up the state of the Object without destroying it. Also added sendTo($index) method, which will send the email just to one of the addresses added, specified in the $index var. This could prove useful in some occasions.
Unit Tests.