Forums

This topic is locked

Form that emails (ASPEmail) and inserts info to Db

Posted 13 Aug 2001 23:22:01
1
has voted
13 Aug 2001 23:22:01 Adam Cronin posted:
Hi,

I can manage to get this form to mail the contents to an email address (running my own SMTP <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>, and can then get the contents inserted into a database on another page, but cant get them both working together !

Ive tried all sorts to get it working but cant seem to pull it off. I notice that others have had the same problem recently, and have been told to read the article on this site that teaches you how to make data that has just been inserted available on the next page, but I cant work out how I would implement this ?

Any help would be great.

Thanks in advance.

Replies

Replied 14 Aug 2001 09:13:47
14 Aug 2001 09:13:47 Viktor Farcic replied:
You should submit data to other page with script for sending mail and command for inserting data in DB. In this case you can't use Insert Record behavior.
The other way is to put code for sending mail after this line:
If (CStr(Request("MM_insert") &lt;&gt; "" Then
...


<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi,

I can manage to get this form to mail the contents to an email address (running my own SMTP <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>, and can then get the contents inserted into a database on another page, but cant get them both working together !

Ive tried all sorts to get it working but cant seem to pull it off. I notice that others have had the same problem recently, and have been told to read the article on this site that teaches you how to make data that has just been inserted available on the next page, but I cant work out how I would implement this ?

Any help would be great.

Thanks in advance.


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Reply to this topic