Click here to Skip to main content
15,917,793 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
Hi,

I have a table structure like below-
Product_Request_Id, Product_Name, Approver_ID, Approve_Status, Approve_Remarks in table called Product_Details

and

In ASP.NET (C#) Web Applicaiton Project - When end User Request for a Product, System will send Auto-mail to the Shelling Manager for Approve. So Shelling Manager will Approve/Reject that Request in Application as of now.. Now we got new requirement as either he can Approve/Reject in Application itself or he can simply reply to mail Subject as Approve/Reject with Request_ID. Show system should capture it and update it in Database.

[EDTI #1]
In Project - When end User Request for a Product, System will send Auto-mail to the Shelling Manager for Approve. So Shelling Manager will Approve/Reject that Request in Application as of now.. Now we got new requirement as either he can Approve/Reject in Application itself or he can simply reply to mail Subject as Approve/Reject with Request_ID. Show system should capture it and update it in Database.
[/EDIT]

I don't have any idea how to do this.. So I con't tell you where I will store incoming mails.. I want to know this how to achieve.

how can we achieve it. Please reply..

Thanks in advance..


Thanks,
Madan.
Posted
Updated 7-Jun-13 6:34am
v5
Comments
joshrduncan2012 6-Jun-13 9:13am    
What have you tried so far to accomplish this?
madan2k6 7-Jun-13 1:01am    
Hi,
As of now our application is sending mail to person as telling "you have a request (Request ID) to approve, Please approve it" and in the same mail we where sending URL as a link to approve it.
But Since clients are requesting to implement some thing like when we reply to same mail instead of clicking link and approve the request, system should capture the mail as Approve or Reject and update in database.. since they are accessing mails in their office Intranet network to click on link in mail and approve it is not accessible for them..

Our database table have field like Request_ID, Appprove_Status, Approve_By, Approved_Date, Etc.. When they include Approve/Reject in the mail with remarks then system should capture it and update in database..


So, how can we achieve it. ??

Thanks,
Madan.

joshrduncan2012 7-Jun-13 9:10am    
Descriptions of your attempts so far are useless. Please use "improve question" and post your code as to what you have accomplished.
Maciej Los 6-Jun-13 11:12am    
We don't see the structure of your database and we don't see the project, concept, etc.
You need to be more specific if want our help.
Use "Improve question" widget to update your question.
ASAP - if something is ASAP for you, it doesn't mean that is ASAP for us ;(
madan2k6 7-Jun-13 1:03am    
Dear Los,
Since I digging for this loggic in google for a week to impliment it i just include ASAP in it..



Thanks,
Madan.

1 solution

The workaround may be either of the below.


  1. Window Service, which will be scheduled to read incoming mails from the mail server/mail storage folder and update the database accordingly by checking the subject and data inside the mail.


  2. A POP3 email client which will read emails as it pops up in mail server and updates accordingly.




Note

And if you check the right side bottom box in these links saying "Related Articles", you will get many more article on this same topic.

Good luck... :)
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900