|
|
|
|
|
| | |
|
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Reg sending email from an ASP page |
From: |
Pavan |
Date: |
9/1/2000 3:50:57 AM |
IP: |
208.199.59.51 |
Using CDO (Collaborative Data Objects) i am trying to send a mail from an ASP page
On my webpage i have an icon. In that icon click i want to send a email to the
address provided on the web page.i am having the required server script for sending an
email. In the icon click i want to pass the email address as a parameter to the server script.
i am not able to assin a value to a server variable in the client scripting.
any one suggest me how to assign value to a server variable in the client scripting..
for ur convenience i am pasting the code also.
Sub Emailed_OnClick() in this event click i want to send an email to the address specified
if document.frmPersonal.txtemail.value<>"" then
on my web page i have a field called txtemail. i want to send a
and send a message to the address specidied in txteamil.
i have a server variable called ToAddress
i want to assign a value to ToAddress in client scripting without submitting the page again
<%
dim objMail
set objMail=createobject("CDONTS.NewMail")
objMail.Send "mvspavan@hht.satyam.com",ToAddres,"test","Final Test After submitting"
set objMail=nothing
%>
end if
end sub |
Follow Up - Re: Reg sending email from an ASP page - Jan van den Hoven 9/25/2000 4:52:25 PM
|
|

|
|
|
|
|
|
|
|
|
|