READ GROUP EMAIL USING C#.
first Create table for user id and password.
like this below
tablae name : emailusers :
1. id int unique
2. userid nvarchar 50
3. pass nvarchar 50
when Timer starts. //set timer as you need
read all userid and password from table that you create by for loop like this below
create connection and retreive all users with pass in grid.
then
do this code
int a;
a=grid.rows.count; //grid is id of gridview
for(int i=0;i<a;i++)
{
string id =grid.rows[i].cell[0].value.tostrig()
string uid = grid.rows[i].cell[1].value.tostrig()
string pass =grid.rows[i].cell[2].value.tostrig()
readmail(uid,pass); //call read mail function
}
public string (string uid,string pass)
{
//use link below to see code to read email inbox
http://ramveersingh.wordpress.com/2011/05/17/get-unread-mail-count-of-gmail-in-c/
//and insert node data from xml in your table
//and all email will insert in your table from all accounts using this code.
//its very easy.
return uid;
}
Monday, 17 June 2013
by Rupesh Sharma on 21:41
No comments
Rupesh Sharma
If you need any kind of support Contact me. i'll reply with solution. roopeshsharma00031@gmail.com
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment