Hi,
I have been asked to add to some old ASP code , im more of a PHP/ASP.Net man so im a bit confused how to do this in ASP. all that is needed is an attachment section to the old form so that they can send pdf files to there customers. here is the orignal for code -
- <!--#include file="../includes/config.asp"-->
-
<!--#include file="../includes/security_inc.asp"-->
-
<!--#include file="../includes/sConnString.asp" -->
-
<html>
-
<head>
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-
<title><%=sSiteTitle%></title>
-
<script language="JavaScript" src="../includes/functions.js"></script>
-
<link rel="stylesheet" href="../includes/stylesheet.css" type="text/css">
-
</head>
-
<body topmargin="0" leftmargin="0">
-
<!--#include file="admin_header.asp" -->
-
<!--#include file="admin_navigation.asp" -->
-
<form method="post" action="sendemail.asp" onSubmit="return FormSendEmail_Validator(this);">
-
<div align="center">
-
<table width="80%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#6185C1" bgcolor="EEF3FB">
-
<tr>
-
<td height="112" valign="top">
-
<table width='100%' border="0" cellpadding="3">
-
<tr>
-
<td colspan="3">* Required Field</td>
-
</tr>
-
<tr>
-
<td width="136">* From Email</td>
-
<td colspan="2"><input name="txtFrom" type="text" class="EmailAdminInput" value="<%=sAdministratorsEmail%>">
-
This is the admin email set in config.asp </td>
-
</tr>
-
<tr>
-
<td>* Subject</td>
-
<td colspan="2"><input type="text" name="txtSubject" class="input">
-
</td>
-
</tr>
-
<tr>
-
<td valign="top">* Body</td>
-
<td width="257" valign="top"><textarea name="txtBody" class="textarea"></textarea>
-
</td>
-
<td width="276" valign="top">You can copy and paste a word document into the 'body' section
-
of the email. </td>
-
</tr>
-
<tr>
-
<td valign="top">Email Format</td>
-
<td colspan="2" valign="top"><select name="selFormat" id="selFormat">
-
<option value="HTML" selected>HTML</option>
-
<option value="TEXT">TEXT</option>
-
</select></td>
-
</tr>
-
<tr>
-
<td valign="top" style="height: 26px">Archive</td>
-
<td colspan="2" valign="top" style="height: 26px"><input name="cbArchive" type="checkbox" id="cbArchive" value="1"></td>
-
</tr>
-
-
<tr>
-
<td colspan="3" valign="top">
-
<div align="center">
-
<input type="submit" value="Send Email" name="submit" class="submit">
-
</div></td>
-
</tr>
-
</table>
-
</td>
-
</tr>
-
</table>
-
</div>
-
</form><br><br>
-
<!--#include file="../includes/copyright.asp" -->
-
</body>
-
</html>
So if anyone can help that would be great
Thanks in advance
Regards
Gaz35