Ask a Question related to Dreamweaver AppDev, Design and Development.
-
woodywyatt #1
request two items from an ASP page?
How do I request two items from an ASP page to be displayed in the body of
an email?
The only thing I receive is the password - Mail.Body =
Session("svPassword")
the text field from the form on the ASP page doesn't show -
request.form("email")
At the moment my code is as follows -
<% Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.to = request.form("email")
Mail.From = "me@myaddress.com"
Mail.Cc = ""
Mail.Subject = "Here is your password and username"
Mail.Body = Session("svPassword") & request.form("email")
Mail.Send
Set Mail=nothing
%>
woodywyatt Guest
-
keeping items together on the same page
Greetings, We're creating a 380 page PDF document from HTML, with Acrobat Standard 7.0 for the Mac. We need a way to keep images and their... -
master page items wont apply
After making additions and changes to the master page in my calendar project, the new, added, and changed items won't appear on the pages. Not using... -
Creating master page where global items arearranged ABOVE local items
When you create a mater page, obviously all the items are arranged below anything on the individual pages. Is there a way of creating a master... -
CS2 Master page items not aligned
Here is my problem. I have two elements on my master page. Both are text boxes. One is overlapping the other to cover up an element in the bottom... -
linking to items on a page
I've been trying to find out how to link from the top of a page to an item on the page. I have a book list, and I want to put a list of the... -
CarlGrint #2
Re: request two items from an ASP page?
If you are passing a Form variable called Email then your code should work.
You can request lots of data to include in yor form, although you may wish to
look at CDOSYS the replacement for CDonts in Windows XP and Server 2003.
I have a free tutorial you can check out if you wish
[url]http://www.cgw3.co.uk/tutorials/tutorial.asp?CategoryID=3&TutorialID=39[/url]
Originally posted by: Newsgroup User
How do I request two items from an ASP page to be displayed in the body of
an email?
The only thing I receive is the password - Mail.Body =
Session("svPassword")
the text field from the form on the ASP page doesn't show -
request.form("email")
At the moment my code is as follows -
<% Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.to = request.form("email")
Mail.From = "me@myaddress.com"
Mail.Cc = ""
Mail.Subject = "Here is your password and username"
Mail.Body = Session("svPassword") & request.form("email")
Mail.Send
Set Mail=nothing
%>
CarlGrint Guest
-
woodywyatt #3
Re: request two items from an ASP page?
Thanks Carl
Afraid I get errors using CDOSYS.
I'm still not sure why my code doesn't work below.
For example - Mail.Body = Session("svPassword") works fine.
Where as Mail.Body = Session("svPassword") & request.form("email") doesn't
"CarlGrint" <webforumsuser@macromedia.com> wrote in message
news:d4b8oa$oc2$1@forums.macromedia.com...work.> If you are passing a Form variable called Email then your code shouldwish to>
> You can request lots of data to include in yor form, although you mayof> look at CDOSYS the replacement for CDonts in Windows XP and Server 2003.
>
> I have a free tutorial you can check out if you wish
> [url]http://www.cgw3.co.uk/tutorials/tutorial.asp?CategoryID=3&TutorialID=39[/url]
>
> Originally posted by: Newsgroup User
> How do I request two items from an ASP page to be displayed in the body> an email?
> The only thing I receive is the password - Mail.Body =
> Session("svPassword")
> the text field from the form on the ASP page doesn't show -
> request.form("email")
> At the moment my code is as follows -
>
> <% Set Mail=Server.CreateObject("CDONTS.NewMail")
> Mail.to = request.form("email")
> Mail.From = "me@myaddress.com"
> Mail.Cc = ""
> Mail.Subject = "Here is your password and username"
> Mail.Body = Session("svPassword") & request.form("email")
> Mail.Send
> Set Mail=nothing
> %>
>
>
>
>
>
>
woodywyatt Guest
-
CarlGrint #4
Re: request two items from an ASP page?
Th obvious answer would be you either have no value for 'Email' or are using
Get instead of Post for your form.
Try using Request("email") this will look for both.
If you look in the same section of my tutorials that i sent the CDOSYS
tutorial, you will see a old Cdonts version, which might be of help....but I do
recommend getting use to CDOSYS.
Originally posted by: Newsgroup User
Thanks Carl
Afraid I get errors using CDOSYS.
I'm still not sure why my code doesn't work below.
For example - Mail.Body = Session("svPassword") works fine.
Where as Mail.Body = Session("svPassword") & request.form("email") doesn't
"CarlGrint" <webforumsuser@macromedia.com> wrote in message
news:D4b8oa$oc2$1@forums.macromedia.com...work.> If you are passing a Form variable called Email then your code shouldwish to>
> You can request lots of data to include in yor form, although you mayof> look at CDOSYS the replacement for CDonts in Windows XP and Server 2003.
>
> I have a free tutorial you can check out if you wish
> [url]http://www.cgw3.co.uk/tutorials/tutorial.asp?CategoryID=3&TutorialID=39[/url]
>
> Originally posted by: Newsgroup User
> How do I request two items from an ASP page to be displayed in the body> an email?
> The only thing I receive is the password - Mail.Body =
> Session("svPassword")
> the text field from the form on the ASP page doesn't show -
> request.form("email")
> At the moment my code is as follows -
>
> <% Set Mail=Server.CreateObject("CDONTS.NewMail")
> Mail.to = request.form("email")
> Mail.From = "me@myaddress.com"
> Mail.Cc = ""
> Mail.Subject = "Here is your password and username"
> Mail.Body = Session("svPassword") & request.form("email")
> Mail.Send
> Set Mail=nothing
> %>
>
>
>
>
>
>
CarlGrint Guest



Reply With Quote

