ylucki
asked on
automatic mail when a page is downloaded
Hi,
Can someone please help me with the sample code, to automatically send a mail to say lucky@yahoo.com, when some software is downloaded from my webpage ?
There will be a download link in my webpage, and when a user downloads the software, i have to get a mail indication automatically with from the user's mail configured on the machine.
Thanks,
Lucky
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
before i hash code for you, what is the capabilities of your web server ?
does your accoutn support server side scripting or jsut htmp and client side active scripting ? ?
does your accoutn support server side scripting or jsut htmp and client side active scripting ? ?
oh and there is no way you can send email from a client users machine
Set myMail=CreateObject("CDO.M
myMail.Subject="Sending email with CDO"
myMail.From=username 'This is a variable
myMail.To="Lucky@yahoo.com
myMail.TextBody="You message."
myMail.Configuration.Field
myMail.Configuration.Field
myMail.Configuration.Field
myMail.Configuration.Field
%>
...
<a href="file.exe" onclick="<%=myMail.Send%>"
The above is how to csend a mail from an ASP page using CDO
CDO is used for win 2000 or later, CDONTS is used for WinNT. Im not too sure about the link though, not sure if that will send but where code is there, to send mail all you need to do is execute the myMail.send object