Sorry for my keep asking but I really don't know what the value of argument
"fieldName" in "addAttachments(fieldName)" is.
Is it related to the value of file input ??
<form action="" enctype="multipart/form-data"
method="post">
<input type="file" name="file"/>