|
Hi to all,
My project has reading mails from mail server.
the mail server is not in OUTLOOK. Its like a Exchange server like gmail,yahoo, Organisation server & so on,....
I am reading all the mails & save the attachments.
I am Using the sample Application is.,
http://www.codeproject.com/KB/IP/Pop3MimeClient.aspx
K., My question is How to move read mails from inbox to another folders through .Net code???
Thanks,
nkmkrishna.
|
|
|
|
|
any bodies know the answer???
How to move read mails from inbox to another folders through .Net code???
|
|
|
|
|
nkmkrishna wrote: any bodies know the answer???
How to move read mails from inbox to another folders through .Net code???
Please DON'T Shout. Here every body trying to help all. If any body knows the answer he/she will give you. You are asking the same question multiple times in a day and Even you are not waiting for an hours and posting a new thread. Did you read the last thread that you have post.
Please be quite and keep patient.
I will suggest you to read the forum guideline before you post the next question.
Please read Forum Guideline
Thank you.
|
|
|
|
|
WE're not answering you because this is not an ASP.NET question.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
when i'm trying to run my asp.net website"with sql db"
this error appears ,
i checked the server and i didn't find any option allows remote connections
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
any help please ?
|
|
|
|
|
EmZan wrote: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
This is one of most command error that you find when you are trying to connecting with Database. Which version of SQL Server are you using ?
|
|
|
|
|
i'm usin microsoft sql server 2005 express
|
|
|
|
|
|
that is my question man
|
|
|
|
|
EmZan wrote: that is my question man
The link that I have provided to you explained how to configure the SQL Server for remote connection
|
|
|
|
|
lol i thought it's a post not a link
thanks
|
|
|
|
|
If you are using SQL 2005 or above then just go to SQL Server Configuration Manager >> SQL Server Network Configuration >> Protocols for SQLExpress. Enable the TCP/IP protocol. Restart the SQLExpress service.
There is no foolish question, there is no final answer...
modified on Monday, June 15, 2009 9:42 AM
|
|
|
|
|
i did that but it didn't work
|
|
|
|
|
Hi..
I have create a function named public void UnreadMail() in MasterPage.
There is a page named MailingDetails.aspx. This page is created with Master Page.
I have called UnreadMail() in MailingDetails Page dynamicllay for refreshing only particular of masterpage's that function.
It is like ....
this.Master.UnreadMail();
but it can't refresh of master page's that particular data even if it run successfully.
plz, suggest me where's the problem with this issue.
Thanks.
Regards,
PUJA FALDu
|
|
|
|
|
Place this in your child page
<%@ MasterType VirtualPath="~/MasterPage.master" %>
and call the function as you have done.
himanshu
|
|
|
|
|
hi...
I have already register this tag in .aspx page but then also its not work.
Any other issue, can conflict with this one? kindly suggest...
thanks.
|
|
|
|
|
What do u mean by can't refresh master page's function .
What are you ding in that function
himanshu
|
|
|
|
|
hi..
i have used modalpop up in master page and its shows data with, public void UnreadMail() by masterpage.master.cs page.
i have datagrid in MailingDetails.aspx page which contains this master page.
now in click of one record of datagrid,it opens NewPage.aspx.
NewPage.aspx does not contain master page.
I want to refresh UnreadMail() which is called in MailingDetails.aspx page.
Thanks.
|
|
|
|
|
I like to create textBox dynamically by pressing a button. But I can’t getting the textbox or its value back after a postback occur. I am creating New textBox lile bellow...
Partial Class postback
Inherits System.Web.UI.Page
Dim tx As New TextBox
................
................
Protected Sub btnNewAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnNewAdd.Click
PlaceHolder1.Controls.Add(tx)
End Sub
..............
...............
Now I pressed a 'save' button and try to show dynamically created text box's value in label.But it is not happening. Also textBox vanishes. My code is bellow...
Protected Sub btnSave_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSave.Click
Label1.Text = tx.Text
End Sub
..........
End Class
Please help me to achive this.
|
|
|
|
|
Because you are adding textbox in the click event of Add button.
So when u click save button you are not getting anything
himanshu
|
|
|
|
|
Saam_cse wrote: I like to create textBox dynamically by pressing a button. But I can’t getting the textbox or its value back after a postback occur.
You will not get. Because you have to create the textbox, before Page_Load() , because Postback data and view state data load for control before page_load . Create your control on Page_PreInit() will resolve your problem.
|
|
|
|
|
Create a HashTable and add the control id as key and control value as value.
Then at postback get the control's value using Request.Form(control_id) and create the control again and assign it the same value.
Example :
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Try
If Not IsNothing(ViewState("ht")) Then
Dim v_ht As New Hashtable
v_ht = CType(ViewState("ht"), Hashtable)
For i As Integer = 0 To v_ht.Count - 1
'getting value of 1st control
Dim a = Request.Form("txt_1")
'getting value of 2nd control
Dim b = Request.Form("txt_2")
Next
Else
Dim ht As New Hashtable
'dynamically created 1st control
Dim txt As TextBox
txt = New TextBox
txt.ID = "txt_1"
txt.Text = "CODE"
ht.Add(txt.ID, txt.Text)
ph_Main.Controls.Add(txt)
'dynamically created 2nd control
txt = New TextBox
txt.ID = "txt_2"
txt.Text = "PROJECT"
ht.Add(txt.ID, txt.Text)
ViewState("ht") = ht
ph_Main.Controls.Add(txt)
End If
Catch ex As Exception
Response.Write(ex.ToString)
End Try
End Sub
store the id(s) of dynamic controls in a hashtable.
at postback loop through the hashtable and using Request.Form and passing control id through hastabale , get back all values.
this is the easiest method of getting back the values of dynamically created controls.
Regards,
Kapil Thakur
(Where's there is Kapil , there is a way) - thakur.kapil@gmail.com
|
|
|
|
|
Protected Sub btnSave_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSave.Click
TextBox txtBxTemp = (TextBox)e.Item.FindControl("tx");
Label1.Text = txtBxTemp.Text;
End Sub
Well those two list are C# I have no clue what VB would be maybe:
txtBxTemp as TextBox = (TextBox)e.Item.FindControl("tx") ?
|
|
|
|
|
Can anybody help to give code or application for update carrer profile page which contains
1. qualification details..(any number of rows dynamically in client side)
2. Experience details.. (any number of rows dynamically in client side)
These two this must done without using Ajax only by .net 2.0
|
|
|
|
|
svenki wrote: Can anybody help to give code or application
For free ???
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|