|
 |
asp_web_howto thread: E-Mail to Lotus Notes
Message #1 by KATHLEEN.M.WHALEN@c... on Thu, 26 Apr 2001 17:05:24 -0400
|
|
I'd like to design a feedback form on my ASP/HTML pages that when
SUBMITted will send an e-mail message to my Lotus Notes e-mail account.
Does anyone know how to set this up?
When I use a straight HTML tag (see below) Outlook Express pops up as the
e-mail client. We cannot send mail this way.
<a href="mailto:kathleen.m.whalen@c...">Test E-Mail</a>
Any ideas on where I need to start this adventure?
Message #2 by "Drew, Ron" <RDrew@B...> on Fri, 27 Apr 2001 08:14:02 -0400
|
|
Kathleen,
This will work...I put some javascript in as a bonus....
Ron.
<script language="JavaScript">
<!--
function CheckForm() {
var fname = document.formmail.name.value;
var femail = document.formmail.email.value;
if (document.formmail.name.value == "")
{
alert("Please enter a value for the \"Name\" field.");
document.formmail.name.focus();
return (false);
}
if (document.formmail.email.value == "")
{
alert("Please enter a value for the \"Email\" field.");
document.formmail.email.focus();
return (false);
}
if (document.formmail.email.value.indexOf("@")==-1)
{
alert(femail+" invalid..There is no @ in the field.");
document.formmail.email.focus();
return (false);
}
alert(fname+" ..Thank you for completing the form. Your Information will
be sent when you close this window and you will go back one screen.");
window.history.go(-1);
}
//-->
</script>
<FORM name="formmail" METHOD="POST"
ACTION="mailto:kathleen.m.whalen@c...?subject=Form Mail from
Website" enctype="text/plain" onsubmit="return CheckForm()">
<INPUT TYPE=hidden name="recipient"
value="kathleen.m.whalen@c...">
<INPUT TYPE=hidden name="Message">
<P><FONT FACE="VERDANA, ARIAL" size="3"><B>Name:</B>
<INPUT type="text" size=55 name="name">
<P><FONT FACE="VERDANA, ARIAL" size="2"><B>EMail Address:</B>
<INPUT type="text" size=40 name="email">
<p><FONT FACE="VERDANA, ARIAL" size="2"><B>Any Suggestions or
comments:</B></FONT>
<TEXTAREA ROWS=5 COLS=60 NAME="suggestions"></TEXTAREA>
<P><INPUT TYPE="SUBMIT" VALUE="Send">
<INPUT TYPE="RESET" VALUE="Clear Form"></P>
</FORM>
-----Original Message-----
From: KATHLEEN.M.WHALEN@c...
[mailto:KATHLEEN.M.WHALEN@c...]
Sent: Thursday, April 26, 2001 5:20 PM
To: ASP Web HowTo
Subject: [asp_web_howto] E-Mail to Lotus Notes
I'd like to design a feedback form on my ASP/HTML pages that when
SUBMITted will send an e-mail message to my Lotus Notes e-mail account.
Does anyone know how to set this up?
When I use a straight HTML tag (see below) Outlook Express pops up as the
e-mail client. We cannot send mail this way.
<a href="mailto:kathleen.m.whalen@c...">Test E-Mail</a>
Any ideas on where I need to start this adventure?
Message #3 by "Drew, Ron" <RDrew@B...> on Fri, 27 Apr 2001 08:16:27 -0400
|
|
Forgot to tell you...take the <a href out. That is what is causing your html
to pop up email. As the example I gave you shows, put the action in the
form itself.
Ron
-----Original Message-----
From: KATHLEEN.M.WHALEN@c...
[mailto:KATHLEEN.M.WHALEN@c...]
Sent: Thursday, April 26, 2001 5:20 PM
To: ASP Web HowTo
Subject: [asp_web_howto] E-Mail to Lotus Notes
I'd like to design a feedback form on my ASP/HTML pages that when
SUBMITted will send an e-mail message to my Lotus Notes e-mail account.
Does anyone know how to set this up?
When I use a straight HTML tag (see below) Outlook Express pops up as the
e-mail client. We cannot send mail this way.
<a href="mailto:kathleen.m.whalen@c...">Test E-Mail</a>
Any ideas on where I need to start this adventure?
|
|
 |