Hi,
I’m trying to attach a file to an email using eform 1.4.4.6 and its not working for me. The email goes through and no errors appear but when I look at the email there is no attachment.
All the other details appear in the email, but where attachment appears the first letter of the document that I attached is all that is displayed.
Here is my code
<form action="[~[*id*]~]" method="post">
<input type="hidden" name="formid" value="newJob" enctype="multipart/form-data"/>
<h3>Your personal details</h3>
<table>
<tr>
<td><label>Title</label></td>
<td colspan="3"><select name="title">
<option value="Mr">Mr
<option value="Mrs">Mrs
<option value="Master">Master
<option value="Miss">Miss
</select>
</td>
</tr>
<tr>
<td><label>First Name</label></td>
<td> <input class="field" type="text" name="firstname" size="40" eform="First Name:string:1:Your First Name is required" /></td>
</tr>
<tr>
<td><label>Surname</label></td>
<td> <input class="field" type="text" name="surname" size="40" eform="Surname:string:1:Your Surname is required" /></td>
</tr>
<tr>
<td><label>Residential Address</label></td>
<td> <input class="field" type="text" name="address" size="40" eform="Residential Address:string:1:Your Residential Address is required" /></td>
</tr>
<tr>
<td><label>Postcode</label></td>
<td> <input class="field" type="text" name="postcode" size="40" eform="Postcode:string:1:Your Postcode is required" /></td>
</tr>
<tr>
<td><label>Suburb</label></td>
<td> <input class="field" type="text" name="suburb" size="40" eform="Suburb:string:1:Your Suburb is required" /></td>
</tr>
<tr>
<td><label>State</label></td>
<td colspan="3"><select name="state">
<option value="QLD">QLD
<option value="NSW">NSW
<option value="VIC">VIC
<option value="SA">SA
<option value="NT">NT
<option value="WA">WA
<option value="TAS">TAS
<option value="ACT">ACT
</select>
</td>
</tr>
<tr>
<td><label>Phone Number</label></td>
<td> <input class="field" type="text" name="phone" size="40" eform="Phone Number:string:1:Your Phone Number is required" /></td>
</tr>
<tr>
<td><label>Email</label></td>
<td><input class="field" type="text" name="email" size="40" eform="Email Address:email:1" /></td>
</tr>
<tr>
<td><label>Attach your Resume</label></td>
<td><input class="field" type="file" name="attachFile" eform="attachFile:file:0:Only upload of text documents are supported: pdf,txt,doc " /></td>
</tr>
<tr>
<td> </td>
<td> <input type="submit" name="frmGo" value="Send Job" /> </td>
</tr>
</table>
</form>
<p>Here are the details for <strong>[+subject+]</strong> </p>
<table>
<tr valign="top"><td>Title:</td><td>[+title+]</td></tr>
<tr valign="top"><td>First Namel:</td> <td>[+firstname+]</td></tr>
<tr valign="top"><td>Surname:</td> <td>[+surname+]</td></tr>
<tr valign="top"><td>Residential Address:</td> <td>[+address+]</td></tr>
<tr valign="top"><td>Postcode:</td> <td>[+postcode+]</td></tr>
<tr valign="top"><td>Suburb:</td> <td>[+suburb+]</td></tr>
<tr valign="top"><td>State:</td> <td>[+state+]</td></tr>
<tr valign="top"><td>Phone Number:</td> <td>[+phone+]</td></tr>
<tr valign="top"><td>Email Address:</td> <td>[+email+]</td></tr>
<tr valign="top"><td>Attactment:</td> <td>[+attachFile+]</td></tr>
</table>
Id be very grateful for any advice on this.
Thanks