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[assword]="***" <<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????
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[assword]="***" <<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????