# Question about mailfactory

**URL:** <https://www.ruby-forum.com/t/question-about-mailfactory/105533>\
**Category:** Ruby\
**Created:** [May 30, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/question-about-mailfactory/105533 "2007-05-30T20:46:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![benemson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a8b319/32.png) [@benemson](https://www.ruby-forum.com/u/benemson)\
**Post date:** [May 30, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/question-about-mailfactory/105533/1 "2007-05-30T20:46:12Z")

</div>

I am using the mailfactory from rubyforge. It seems to work well.  
Was wondering how best to reuse the object I created with it. There  
does not seem to be a reset or finish method. Do I need to destroy  
the object after sending an email (dont know how to destry objects but  
can look this up). The main thing is I am adding a attachment so just  
removing all attachments would do the trick.

I wouldn’t be to bothered but it is a loop and I think that every time  
I loop round I am creating a new object.

Regards,  
Ben
