[ic] Email tag crash while sending two attachments

Stefan Hornburg (Racke) racke at linuxia.de
Fri Nov 12 20:15:52 UTC 2010


On 11/12/2010 08:13 PM, Ton Verhagen wrote:
> Dear All,
>
> I am trying to send an email with two attachments using the email tag. Unfortunately it results in a Internal Server Error.
>
>
> [email
>     to="Ton Verhagen<tverhagen at alamerce.nl>"
>     from="Foobar<foobar at example.com>"
>     subject="Email with an attachment"
>     attach.0="images/test1.png"
>     attach.1="images/test2.png"
>
> ]This email has two attachments.[/email]
>
>
> Error.log
> Runtime error: Can't use string ("images/test1.png") as a HASH ref while "strict refs" in use at (tag 'email') line 119.
>
> Am I missing something?
>

This appears to be a bug based on a quick code review. Thanks for the report, I'll provide a bug fix for this.

Regards
	Racke


-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




More information about the interchange-users mailing list