Can't help much, but, fwiw:

These two are definitely completely wrong:

> $mailer->open ( 'From' => 'me <[EMAIL PROTECTED]>',
>                 'To' => 'you <[EMAIL PROTECTED]>',
>                 'Subject' => 'Test'
>                 ) ;
>
> $mailer->open ( From => 'me <[EMAIL PROTECTED]>',
>                 To => 'you <[EMAIL PROTECTED]>',
>                 Subject => 'Test'
>                 ) ;

This one is at least passing a hash ref which
is defintely what the function is expecting.

> $mailer->open ({ From => 'me <[EMAIL PROTECTED]>',
>                 To => 'you <[EMAIL PROTECTED]>',
>                 Subject => 'Test',
>                 }) ;

> Odd number of elements in hash assignment at lib/Mail/Mailer/smtp.pm
line 13.
> Died at lib/Mail/Mailer.pm line 270.

I can't see what's wrong with this.

Hmm.

One place it's always worth looking:

http://groups.google.com/groups?q=perl+smtp+Odd+number+of+elements+in+ha
sh+assignment

Reply via email to