Nope, just tried it and it sends just one email, as expected. You are probably calling the sub multiple times (since you're not showing the calling code we cannot know). A couple of pointers to help you determine what is wrong:
Hope that helps somewhat.
In reply to Re: Mail::Mailer in a sub question.
by tirwhan
in thread Mail::Mailer in a sub question.
by docster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |