in reply to Multiple Recipients using SMTP

When you build the MIME::Entity, I don't think you can do

To => @ToAddress, CC => @cclist,

as I suspect the arrays will flatten into the parameter list. You should probably do something like:

To => join(',', @ToAddress), CC => join(',', @cclist),

or maybe you can pass an array reference (not familiar with what MIME::Entity can accept).

Also the advice to not escape @ in single-quoted strings sounds good to me.


s^^unp(;75N=&9I<V@`ack(u,^;s|\(.+\`|"$`$'\"$&\"\)"|ee;/m.+h/&&print$&

Replies are listed 'Best First'.
Re^2: Multiple Recipients using SMTP
by ghouse (Novice) on Dec 24, 2004 at 10:49 UTC
    Thank you for valuable tip .. It's working now