Click to See Complete Forum and Search --> : create a new HTML file on server in asp file?
iKhristosi
June 12th, 2008, 09:15 AM
I'm not sure if what I am trying to do is possible or not. I have a form that needs to be emailed to a user input email address, and the recipient of the email needs to be able to "approve" or "deny" the form submission. Is it possible for ASP code to create a new html page on the server so that the form can be forwarded to another recipient dependent on "approve"/"deny"? Is this possible or is there a better way to do it?
I apologize if this is hard to understand. Thank you in advance.
Christian
Shuja Ali
June 12th, 2008, 09:24 AM
The better way of doing this would be to have a link emailed to the concerned person which will open a new ASP page where the user can Approve or Reject it. It is simpler than you would think.
iKhristosi
June 12th, 2008, 09:26 AM
I knew it would be. But ASP pages wont open alone, will they? I thought they had to be called by a form or something.
Christian
Shuja Ali
June 12th, 2008, 09:33 AM
I knew it would be. But ASP pages wont open alone, will they? I thought they had to be called by a form or something.
Christian
I am sorry, I did not understand that part.
I am assuming that you I was not clear in my previous post. Basically when I said create an ASP page, that meant that you will have to create a new page and put it on a IIS server. Then send a link via the email to the concerned user through which they can connect to the ASP page and do the required operation.
If you can give a little background of what exactly you are doing and which application will send an email, then maybe someone can provide a better solution.
iKhristosi
June 12th, 2008, 09:43 AM
I have a form to request a new machine. The user fills it out including the email address of the one who needs to approve/deny it. When they press "submit" the completed form is emailed to the designated person. That person then needs to be able to open the form to review it and decide whether to approve/deny it. When they approve it, the form needs to be emailed to someone else so the order can be filled. When they deny it, the form needs to be emailed back to the original user to inform them that it has been denied.
I hope this clarifies what I am trying to do. Thanks
Christian
Shuja Ali
June 12th, 2008, 09:45 AM
And what is that Form? Is it an ASP.NET page or a Word document or an Outlook form?
iKhristosi
June 12th, 2008, 09:56 AM
The form is an HTML form. The action for the form is
action="sendEmail.asp"
Christian
Shuja Ali
June 12th, 2008, 10:10 AM
The form is an HTML form. The action for the form is
action="sendEmail.asp"
Christian
I doubt if I would be of any help in that case. I was under impression that you have an ASP.NET application.
iKhristosi
June 12th, 2008, 11:03 AM
Would it be hard to turn it into an ASP.NET application?
Shuja Ali
June 12th, 2008, 11:07 AM
Would it be hard to turn it into an ASP.NET application?
It actually depends on how much knowledge do you have related to ASP.NET. It should be a small application.
iKhristosi
June 12th, 2008, 11:18 AM
I actually don't have much. I started using ASP only about 2 weeks ago. So I don't know too much about ASP.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.