<HTML><HEAD>
<META content="text/html; charset=iso-8859-15" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Met vriendelijke groet,<BR><BR>Jan van Dijk<BR>j.vandijk@attema.nl<BR>B.V. Kunststoffenindustrie Attema<BR>tel : 0183-650650 tst 674<BR>fax: 0183-650751<BR>www.attema.nl</FONT><BR><BR>&gt;&gt;&gt; "Stefan Hornburg (Racke)" &lt;racke@linuxia.de&gt; 15-11-10 9:10 &gt;&gt;&gt;<BR>&gt;&gt;On 11/14/2010 11:16 PM, Jan van Dijk wrote:<BR>&gt;&gt; Dear all,<BR>&gt;&gt; Adding a single attachment using the cgi tag works fine, adding multiple<BR>&gt;&gt; attachments using fixed filenames works fine also,<BR>&gt;&gt; but adding multiple attachments using the cgi tag results in a Runtime error:<BR>&gt;&gt; upload/[cgi ui_upload_filename1]: not readable.<BR>&gt;&gt; [email<BR>&gt;&gt; to=|foo@bar.com&lt;mailto:to=|foo@bar.com&gt;|<BR>&gt;&gt; subject=|Email with attachment|<BR>&gt;&gt; attach="upload/[cgi ui_upload_filename]"<BR>&gt;&gt; ]This email has an attachment.(works fine)[/email]<BR>&gt;&gt; [email<BR>&gt;&gt; to="foo&lt;foo@bar.com&lt;mailto:foo@bar.com&gt;&gt;"<BR>&gt;&gt; subject="Email with attachments"<BR>&gt;&gt; attach.0="images/logo_infra.gif"<BR>&gt;&gt; ttach.1="images/getacro.gif"<BR>&gt;&gt; This email has two attachments.(works fine)[/email]<BR>&gt;&gt; [email<BR>&gt;&gt; to="foo&lt;foo@bar.com&lt;mailto:foo@bar.com&gt;&gt;"<BR>&gt;&gt; subject="Email with attachments"<BR>&gt;&gt; attach.0="upload/[cgi ui_upload_filename1]"<BR>&gt;&gt; attach.1="upload/[cgi ui_upload_filename2]"<BR>&gt;&gt; ]This email has two attachments.(crashes)[/email]<BR><BR>&gt;Did you make sure that both files exist? What is the error message in<BR>&gt;your log file(s)?<BR>&gt;Regards<BR>&gt;Racke<BR></DIV>
<DIV>With a form both files are uploaded to the server in the 'upload' directory.</DIV>
<DIV>Directly after upload, the email is (should be) sent, but crashes.</DIV>
<DIV>The error log says: Runtime error: upload/[cgi ui_upload_filename1]: not readable.</DIV>
<DIV>If&nbsp;I replace:</DIV>
<DIV>attach.0="upload/[cgi ui_upload_filename1]" with attach.0="upload/somefile.pdf" and </DIV>
<DIV>attach.1="upload/[cgi ui_upload_filename2]" with attach.1="upload/anotherfile.xls" and it works fine.</DIV>
<DIV>It seems that the [cgi] tag is not interpreted when using multiple attachments.<BR>Displaying the [cgi ui_upload_filename1] an [cgi ui_upload_filename2] shows the right filenames.</DIV>
<DIV>Thanks<BR><BR><BR><BR>_________________________________<BR>interchange-users mailing list<BR>interchange-users@icdevgroup.org<BR><A href="http://www.icdevgroup.org/mailman/listinfo/interchange-users">http://www.icdevgroup.org/mailman/listinfo/interchange-users</A><BR></DIV><BR>

    <p>
      <font face="Dialog">Disclaimer.
</font>    </p>
    <p>
      <font face="Dialog">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.
</font>    </p>
    <p>
      <a href="http://www.attema.nl/attema/images/attema_disclaimer.gif"><img alt="attema_disclaimer.gif" border="0" src="cid:YCUEYGMFSYIG.attema_disclaimer.gif">
</a>    </p>
  </BODY></HTML>