Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Send info from database to email
Closed Thread
Old 06-11-2004, 09:10 AM   #1 (permalink)
 
Newb Techie

Join Date: Jun 2004

Posts: 10

techthis

Unhappy Send info from database to email

hi...this is my scenario...user fills out form and clicks next-->next page shows users information which is stored into a tempusers_tbl; if the user agrees with the info they click next-->the information is then emailed to the hr dept from the database....hope this helps...thanks for your time...
techthis is offline  
Old 06-11-2004, 11:47 AM   #2 (permalink)
 
Super Techie

Join Date: Apr 2004

Posts: 316

BlazingWolf

Default

The best way I've found to do something like this is to put a time in your DB and search for the current minute that why without extreme unluck you get the last query back, however this method can be in-effective if the minute changes before the query is sent out.
__________________
BlazingWolf
<font color=\'red\'>
<b>
<a href=\'http://www.gaming-forums.org\'>
Gaming-Forums.org
<a/>
</b>
</font>
BlazingWolf is offline  
Old 06-11-2004, 02:25 PM   #3 (permalink)
 
Newb Techie

Join Date: Jun 2004

Posts: 10

techthis

Question

i should have made myself more clear...im using access as my db and asp as scripting lang...info is stored in my temp table...from the temp table i have data going to a master table...that works fine...i also want the data to go to my email from the temp table...how is this possible...thanks for your time...
techthis is offline  
Old 06-11-2004, 02:40 PM   #4 (permalink)
 
Super Techie

Join Date: Apr 2004

Posts: 316

BlazingWolf

Default

I see I know how you could do it PHP. Search for someone sort of e-mail function in ASP or the langauge your using for ASP.
__________________
BlazingWolf
<font color=\'red\'>
<b>
<a href=\'http://www.gaming-forums.org\'>
Gaming-Forums.org
<a/>
</b>
</font>
BlazingWolf is offline  
Old 06-11-2004, 03:07 PM   #5 (permalink)
 
Newb Techie

Join Date: Jun 2004

Posts: 10

techthis

Question

do you have an example in asp or php
techthis is offline  
Old 06-11-2004, 03:33 PM   #6 (permalink)
 
Super Techie

Join Date: Apr 2004

Posts: 316

BlazingWolf

Default

Well you would query for the information, and then put the correct varibles in to send it. Let me see if I can find a good example.

Here this was written by Emily so that you could send from different e-mails using just a drop down box.

For I must apologize that was just the form it didn't have the actually PHP send fuctions in it. whoops!
__________________
BlazingWolf
<font color=\'red\'>
<b>
<a href=\'http://www.gaming-forums.org\'>
Gaming-Forums.org
<a/>
</b>
</font>
BlazingWolf is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On