Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my website i am going to have email service for user and i want to know the information about
1. To whom the user sending mail.
2. how to remainder the user a particular information.
3. how many mails the user sending.
Posted
Comments
Nathan St 18-Oct-10 1:58am    
That's a very broad question, you'll probably have more success if you ask a more specific question...
1. Store it in a database
2. Send them an email?
3. Store it in a database.
[no name] 18-Oct-10 5:09am    
how are you doing the email, smtp?

1 solution

Hello,
I don't quite understand 2, perhaps you could explain?
As for the rest, you have a few options.
You will want a mail backend that will be transparent, with some sort of API for it to use. For example, you will probably want to be able to plug in mail to mysql, mail from pop/imap, etc.
Based on these, you can have another database (whether it is mysql, MSSql, etc) that records the number of messages received.
When the user gets a message, just get the number of messages received and add their new message count to the row.
Same for sending: When the user sends a message, just grab that row, add the number of messages to the sent row.
 
Share this answer
 

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