la ko nasabtan pero hope nasulbad nila imo problema...
la ko nasabtan pero hope nasulbad nila imo problema...
naay free form sa bravehost.com pero i don't know if makaangay ba mo kay naay mga advertisements...
free man pud sa webng then support asp, ang kaapan lang, most free hosts kay limited ang support.. like walay email. mayo unta tog naay local nga host mu support og ASP.
Try this dude,
imong script file na mo process sa form nimo kay ani,
<% @LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<%
Set Mail = Server.CreateObject("SMTPsvg.Mailer") 'create an Asp mail component.
Mail.FromName = "1&1 Test"
Mail.FromAddress= Request.Form("email")
Mail.RemoteHost = "mrelay.perfora.net" ' The mail server you have to use with Asp Mail
Mail.AddRecipient "ABCDE Company", "hello@justonedomain.com"
Mail.Subject = "Website - Info Request"
Mail.BodyText = Request.Form("info")
if Mail.SendMail then
Response.Write "Your mail has already been sent..."
else
Response.Write "Mail send failure. Error was " & Mail.Response
end if
%>
<body>
<p>Thank You!!<br>
</body>
</html>
tapos ang other file nimo with your form kay sa form action dapat i call niya ang file na mo process ani which is the code above,
<html>
<head>
<title>ASP Mail Test page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body background="">
<table width="100%" border="0" align="center">
<tr class="medium">
<td width="54%" align="center" valign="top">
<form onSubmit="return ValidateForm()" method="post" action="forminfo.asp">
Email Address:: <input name="email" type="text" id="email" size="41"></p>
Comments:: <textarea name="info" cols="35" rows="10"></textarea></p>
<input class="fancybut" type="submit" name="Submit" value="Submit Form">
<input class="fancybut" type="reset" name="Submit2" value="Reset Form"></p>
</form></td>
<td width="16%" align="right" valign="top"></td>
</tr>
</table>
</body>
</html>
imong hosting space kay dapat ASP components are supported,
for more info dude, check this URL source --> http://faq.1and1.com/scripting_langu...r_pages/4.html
kk we'l try this one
well, there are many ways to send an information from a form to an email.
based on experience.... I used PHP. wait... you can also use with just your "contactform.html". ....
this requires a script... in which it is very searchable on google. I think this is much easier. no need to set up servers....
still can't search.. you can contact me and I'll dig one script that I am using here in my projects...
just let me know... jecy_ycej@yahoo.com
hi patabang sad ko ani...... i have a working aspmailer script na ... but karon ako problem is..... i have page where someone can fill up this form... so pag click niya ug "submit" kay ang info ma send sa ako email address.... at the same time, another email will be sent to the email address of the person nga ga fill up containing a link to download a PDF file.... possible ba ni sya? i tried googling, wa man koy makita unsaon mag send multiple emails in one page oi.... please help ko ani!!
Similar Threads |
|