# Double mail from bulkmailer gem

**URL:** <https://www.ruby-forum.com/t/double-mail-from-bulkmailer-gem/77531>\
**Category:** Ruby\
**Created:** [November 28, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/double-mail-from-bulkmailer-gem/77531 "2006-11-28T17:59:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bitsmith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9de053/32.png) [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Post date:** [November 28, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/double-mail-from-bulkmailer-gem/77531/1 "2006-11-28T17:59:24Z")

</div>

hi…this gem is run solely from a standonly ruby program:  
require ‘bulkmail’ \<\<\<true  
BulkMail::server\_settings[:authentication]=“login”  
BulkMail::server\_settings[:domain]=“_**"\<\<my isp given domain name  
here  
BulkMail::server\_settings[:user\_name]="\*" \<\<my email here  
BulkMail::server\_settings[:password]="" \<\<my isp password here  
BulkMail::server\_settings[:address]="smtp.**_” \<\<\<my isp smtp server  
name here  
male=Hash.new  
male={  
:recipients\_file =\> “c:/ruby182/myrubies/bulkmail.txt”,  
:subject =\> “test”,  
:from =\> “\*\*\*\*”,\<\<\<my email address here  
:content\_type =\> “text/plain”,  
:content\_file =\> “c:/ruby182/myrubies/content.txt”  
}  
b=BulkMail::Job.new(male) \<\<\<sets up a new object etc…  
puts b.process \<\<\<prints two successfull messages even though i can see  
only ONE recipient…

…and it successfully sends a email out to the recipients …(only) one  
for testing…  
but i says it sends one message but i get two emails…any help???
