[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

double mail from bulkmailer gem

dave rose

11/28/2006 4:59:00 PM

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

--
Posted via http://www.ruby-....

1 Answer

Dano

1/5/2012 3:28:00 PM

0

"David Johnston" wrote in message news:je3gp5$f8m$1@dont-email.me...

On 1/4/2012 8:58 PM, anim8rfsk wrote:
> David Johnston<David@block.net> wrote:
>> On 1/4/2012 7:44 AM, Dano wrote:
>>> "David Johnston" wrote in message news:je15k1$abj$1@dont-email.me...
>>>
>>> On 1/4/2012 12:09 AM, anim8rfsk wrote:
>>>> JRStern<JRStern@foobar.invalid> wrote:
>>>>> On Tue, 03 Jan 2012 13:29:32 -0500, Mason Barge<masonbarge@gmail.com>
>>>>> wrote:
>>>>>
>>>>>>> It's also law enforcement. It combines elements of both.
>>>>>>>
>>>>>>> The Navy can't arrest you and charge you with a crime. The Coast
>>>>>>> Guard
>>>>>>> can.
>>>>>>
>>>>>> Doesn't matter. The Coast Guard is an arm of the U.S. military.
>>>>>>
>>>>>> And actually, the Navy does have "arrest" powers. You're forgetting
>>>>>> about
>>>>>> pirates :)
>>>>>
>>>>> And Mark Harmon.
>>>>
>>>> Hmm. Gibbs is a civilian that works for the Navy, right?
>>>
>>> No, he's a marine.
>>>
>>> ===================================
>>>
>>> Well in that "once a Marine, always a Marine." But considering he is no
>>> longer in uniform I would assume he's not on active duty any longer.
>>>
>>
>> He moved on to become a military policeman. Military criminal
>> investigators typically don't wear uniforms because the nature of their
>> job means that considerations of rank can't stand between them and the
>> officers they are questioning. But that doesn't make them civilians.
>
> Tony is sure as hell a civilian. I bet Probie is, and given that Ziva
> joined before becoming a civilian, she better be a civilian.
>
> Now having shot off my mouth, let's see if I can back it up ...
>
> Ah.
>
> http://en.wikipedia.org/wiki/Naval_Criminal_Investigati...
>
> "Roughly half of the 2,500 NCIS employees are civilian special agents who
> are trained to carry out a wide variety of assignments at locations across
> the globe.

Yeah, I was kind of assuming that Gibbs was the token actual military guy.

====================================================

Not unreasonable. I admit to having wondered. But I've seen nothing in all
my observation of the show to confirm it.