Discussion Locked

HTML Mailto problem

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am attempting to use the HTML "Mailto:", and pass it a variable address. the code I am using now is below, it processes as if it is a valid address, but no mail is received, any help would be appreciated.
Session("sv_addr")="cbutler@xxxxx.com"

3 replies

by alawa

The form is not dynamic. It needs to be acted upon via a form field with event properties such as a button.
Try this:
<%@LANGUAGE="VBSCRIPT" %>
<%Session("sv_addr")="alawa@attbi.com"
%>

It will invoke your email default "new message" interface.
If you wish to have your email sent dynamically without user action, you may want to refer to the use of CDONTS component and SMTP.
Hope that answered your question.

Allaoua Cheraitia

This discussion is closed to new replies.