Subject: | Doesn't allow multiple attachments |
Date: | Thu, 8 Aug 2013 12:25:26 +0100 |
To: | bug-WWW-Mailgun [...] rt.cpan.org |
From: | Simon Elliott <simon [...] papercreatures.com> |
HTTP:Request::Common will automatically read the file if the argument
is an arrayref(!), but the only way to provide multiple files to it is
to add the header several times.
Since WWW::Mailgun only takes arguments as a hashref it is impossible
to set the header multiple times.
Suggested fix cast the supplied arguments to an array and re-add
attachment/inline headers multiple times if they are set before
passing to H/R/C
Thanks