Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Can I use asp mail to send htm form?
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 3

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 06 February 2003 :  06:25:10  Show Profile
try putting an include for config.asp at the top of your mail page.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 06 February 2003 :  10:30:45  Show Profile  Visit Alfred's Homepage
I did that, and now mail arrives again, but without input:
by: Relief requested at:

Alfred
The Battle Group
CREDO
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 06 February 2003 :  10:42:55  Show Profile
Put this before the send mail stuff

response.write "select 1: " & request.form("myMembers") & "<br />"
response.write "select 2: " & request.form("myScen")

and then tell me the result on the page.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 06 February 2003 :  11:08:14  Show Profile  Visit Alfred's Homepage
Is it correct like this:
quote:
<!--#INCLUDE FILE="config.asp"-->
<%
response.write "select 1: " & request.form("myMembers") & "<br />"
response.write "select 2: " & request.form("myScen")

strRecipients = "battlegroup@ggholiday.com"
strsubject = "Relief of Command Request"
strMessage = strMessage & " by: " & Request.Form("myMembers")
strMessage = strMessage & " Relief requested at: " & Request.Form("MyScen")
%>
<!--#INCLUDE file="inc_mail.asp" -->


Result was the same as before - no input:
by: Relief requested at:

Alfred
The Battle Group
CREDO
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 06 February 2003 :  11:32:41  Show Profile
but what does the page display?

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 06 February 2003 :  11:50:15  Show Profile  Visit Alfred's Homepage
It just shows "Select 1" and "Select 2", but no input.

Alfred
The Battle Group
CREDO
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 06 February 2003 :  13:41:32  Show Profile
take out the ENCTYPE="text/plain" on the form.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 06 February 2003 :  14:15:42  Show Profile  Visit Alfred's Homepage
Will do!

Alfred
The Battle Group
CREDO
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 06 February 2003 :  15:14:18  Show Profile  Visit Alfred's Homepage
...and we have a winner!
quote:
by: Thorfinn Relief requested at: Oak Ridge
It still comes on one line in the mail, but at least it DOES come!

Alfred
The Battle Group
CREDO
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 06 February 2003 :  15:32:01  Show Profile
<!--#INCLUDE FILE="config.asp"-->
<%
strRecipients = "battlegroup@ggholiday.com"
strsubject = "Relief of Command Request"
strMessage = strMessage & " by: " & Request.Form("myMembers") & vbNewline
strMessage = strMessage & " Relief requested at: " & Request.Form("MyScen")
%>
<!--#INCLUDE file="inc_mail.asp" -->

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 06 February 2003 :  15:55:36  Show Profile  Visit Alfred's Homepage
Ah, ok.
Many thanks again for your perserverance!

Final question: Since there may be need for more than one mailing page in a web, I assume that the "processmailpage.asp" is a variable name we may choose, and not an ASP command, right?

Alfred
The Battle Group
CREDO
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 06 February 2003 :  16:34:23  Show Profile
it is neither, it is the name of a webpage

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 06 February 2003 :  21:53:06  Show Profile  Visit Alfred's Homepage
That is what I mean - variable to the extent that you can choose a name as for any other page, and you just happened to call it that.

So if I need to do another one, I might call it mailpage2.asp, correct?

Alfred
The Battle Group
CREDO
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07