[ic] Betr.: Re: Email tag crash while sending two attachments

Jan van Dijk j.vandijk at attema.nl
Mon Nov 15 12:30:14 UTC 2010


 
 
Met vriendelijke groet,

Jan van Dijk
j.vandijk at attema.nl
B.V. Kunststoffenindustrie Attema
tel : 0183-650650 tst 674
fax: 0183-650751
www.attema.nl

>>> "Stefan Hornburg (Racke)" <racke at linuxia.de> 15-11-10 9:10 >>>
>>On 11/14/2010 11:16 PM, Jan van Dijk wrote:
>> Dear all,
>> Adding a single attachment using the cgi tag works fine, adding multiple
>> attachments using fixed filenames works fine also,
>> but adding multiple attachments using the cgi tag results in a Runtime error:
>> upload/[cgi ui_upload_filename1]: not readable.
>> [email
>> to=|foo at bar.com<mailto:to=|foo at bar.com>|
>> subject=|Email with attachment|
>> attach="upload/[cgi ui_upload_filename]"
>> ]This email has an attachment.(works fine)[/email]
>> [email
>> to="foo<foo at bar.com<mailto:foo at bar.com>>"
>> subject="Email with attachments"
>> attach.0="images/logo_infra.gif"
>> ttach.1="images/getacro.gif"
>> This email has two attachments.(works fine)[/email]
>> [email
>> to="foo<foo at bar.com<mailto:foo at bar.com>>"
>> subject="Email with attachments"
>> attach.0="upload/[cgi ui_upload_filename1]"
>> attach.1="upload/[cgi ui_upload_filename2]"
>> ]This email has two attachments.(crashes)[/email]

>Did you make sure that both files exist? What is the error message in
>your log file(s)?
>Regards
>Racke
With a form both files are uploaded to the server in the 'upload' directory.
Directly after upload, the email is (should be) sent, but crashes.
The error log says: Runtime error: upload/[cgi ui_upload_filename1]: not readable.
If I replace:
attach.0="upload/[cgi ui_upload_filename1]" with attach.0="upload/somefile.pdf" and 
attach.1="upload/[cgi ui_upload_filename2]" with attach.1="upload/anotherfile.xls" and it works fine.
It seems that the [cgi] tag is not interpreted when using multiple attachments.
Displaying the [cgi ui_upload_filename1] an [cgi ui_upload_filename2] shows the right filenames.
Thanks



_________________________________
interchange-users mailing list
interchange-users at icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users

Disclaimer

The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not an intended recipient, please notify the sender immediately by e-mail. Attema does not accept liability for any errors, omissions, delays or receipt of viruses in the contents of this message that may arise as a result of this email transmission.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.icdevgroup.org/pipermail/interchange-users/attachments/20101115/838288bd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2014 bytes
Desc: CompuServe GIF graphic
URL: <http://www.icdevgroup.org/pipermail/interchange-users/attachments/20101115/838288bd/attachment.gif>


More information about the interchange-users mailing list