|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Serve ASPX page in an email...
Hey guys, <br>Does anyone know if it is possible to serve an ASPX page in an email message? Here is what I am trying to do. I am building an intranet and I want to create a webform that allows a user to enter a vacation request information. Once the user submits the request, I want to email a webform to a manager and have the manager approve/deny the request by selecting check boxes on the webform sent to him/her in the email. The result is then posted to a database table and also emailed back to the requesting user. Any suggestions will be appreciated.....<br><br>Thanks.
|
|
#2
|
|||
|
|||
|
You can't have the actual page in an email. You need to generate 2 pages, and send the manager a URL to seperate page where they can approve/deny the request sent by the user.<br><br>What I would suggest, and I'm sure others will agree, is to create your form that allows users to enter their vacation request information. Also create a seperate page that will perform the action you want the manager to do (check boxes and anything else). <br><br>The User page will send the information into the database, and a unique URL linking to the manager page that will display the information that was just sent. The manager page will pull the information from the database that the user originally entered, depending on the structure of the URL.<br><br>When the user press the submit button, an email can be sent to a manager with all the information the user entered, and a URL which you can generate on your first page once the button is pushed. <br><br>When the Manager reads their email, they will see the information, and at the bottom they can click a URL, which will take them to the Manager Page, and it will show them the information the user created, this time with check boxes you said you want. <br><br>Ex. <br>Create a Universal Userpage: http://testapp.com/userpage.aspx<br>When they submit, the data will go into a table, making that user's UserID=21 in the table, then the URL linking to the manager page will be sent to the manager:<br>http://testapp.com/managerpage.aspx?UserID=21<br><br>The UserID will obviously be different for each unique user.<br><br>I know that isn't too clear to understand, but if you think it out, it's not so complicated.<br>It isn't too easy to explain, but hopefully you got the idea. Good Luck!
|
|
#3
|
|||
|
|||
|
Thanks for that suggestion. I had actually thought about implementing it the way you had described, but the customer inisited that they don't want to have to deal with clicking on a link and having to approve from another page. They want to handle it within the email only. I am trying to convince them that their way might not be possible to implement. <br><br>Thanks for the help.
|
|
#4
|
|||
|
|||
|
How bout this idea, to make it as simple as possible.<br><br>Send the manager 2 links. 1 link will automatically approve, 1 link will reject.<br><br>All they do is click the link, it will open the browser, do the work, then a message will display "Successfully Approved", or some sh!t like that. The client should be happy with<br>a system like that. Let me know how it goes.<br><br>Good luck.
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Serve ASPX page in an email... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|