i'm trying to use Mail::Bulkmail::Dynamic i've tried the following code,

use strict; use warnings; use Mail::Bulkmail::Dynamic; my $bulk = Mail::Bulkmail::Dynamic->new( "merge_keys" => [qw(BULK_EMAIL <name>)], "merge_delimiter" => "::", "From" => "'Jim Thomason'<jim\@jimandkoka +.com>", LIST => [qw(stefan.petrea@gmail.com::Stefan)], "Subject" => "This is a test message", "Message" => "your email is BULK_EMAIL and y +our name is <name>" ) || die Mail::Bulkmail->error(); $bulk->bulkmail() || die $bulk->error;

and i'm getting the error :

No servers at /home/stefan/playground/test_mail_bulkmail_dynamic/tst2.pl line 36.

what can i do about this ? I can't figgure out the error but it seems the error does appear in http://search.cpan.org/~jimt/Mail-Bulkmail-3.12/Bulkmail.pm at METHODS section , the method nextServer features this error


In reply to Mail::Bulkmail::Dynamic error by spx2

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.