double mail from bulkmailer gem

D

Dave Rose

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????
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,060
Latest member
BuyKetozenseACV

Latest Threads

Top