[Network] [Mail] Added reset() function to make the class reentrant

Review Request #234 — Created Nov. 1, 2013 and submitted — Latest diff uploaded

andrea
Lunr
unit_refactoring_mail
214
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.
Loading...