Forum Moderators: open
(tmpMail was defined previoiously by the vbscript and is text containing form results.)
<% =tmpMail %>
</pre>
<div align="center">
<pre>
<form name="form1" method="post" action="">
<INPUT type="submit" Value="Send the Message" onClick="SendIt()"><input type="submit" value="Attach a Print & Send" name="AttachIt" onClick="AttachIt()"><input type="submit" value="Cancel" name="CancelIt" onClick="CancelIt()">
</form>
</pre>
</div>
</blockquote>
</blockquote>
<% LANGUAGE="VBSCRIPT" %>
<%'<script language=VBscript >
function SendIt()
'Here is where the mailer.send thing has to happen -->
set Mailer.Body = tmpMail
document.form1.action = "Mailer.Send"
response.redirect("http://wwWebmasterWorldebpage.com")
end function
function AttachIt()
document.Form1.action = "uploader.asp"
document.Form1.target = "_blank"
document.Form1.submit()
end function
function CancelIt()
document.Form1.action = "self.close()"
end function
%>
Any suggestions you can give would be appreciated.
Thanks much :)
Thanks again,
Milea