Finding Used Space On Web Mail Server Using .NET?
Jul 28, 2010I need to write an application for finding used space on my web mail server using .NET.
View 1 RepliesI need to write an application for finding used space on my web mail server using .NET.
View 1 RepliesI want to add reference system.net.mail but I am not finding it my reference liberary. How can I Import that reference.
View 6 RepliesI am working on this exercise where i have to find suburbs with minimum and maximum percentage POS (public open space).
I manage to get the minimum and maximum but i need a way to allow for two or more suburbs with same minimum or maximum.. for examplethree subrubs ( suburb A, suburb B, and suburb C) all has same POS of 2%, then i need to list the three in the list box as minimum with subrub name(from my code i can get only one) with the maximum values as well( allow two or more suburbs with same maximum in a similar way)..
Below is the code.. i have removed some codes to make it read easy whi are not relevant.. i got POS percentage correct and i wanna start from there..
CODE:
I need to read the email from the mail server that is in my intranet from my application server.
View 9 RepliesI need a feedback form for my site.i need the user to write there.
Mail
Title
Info
And then when they press send then i get a mail to my hidden mail and a confirmation is send to the user mail.I have google the web but cant find any good info about this, i know how to make the form but how do i make the codebehind !?
Do any of u pro. have a link to a great tutorial or have a code that can be used !?
I would like to check the free space of a server share (\servershare) Is this a simple task and how would I do it?I found the following for a mapped drive, but it does not seem to like server names.
Dim cdrive As System.IO.DriveInfo
cdrive = My.Computer.FileSystem.GetDriveInfo("C:")
MsgBox("Total free space: " & CStr(cdrive.TotalFreeSpace))
How would i get a certain text inside a textbox to equal that text space to space or null to space?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If Textbox1.Text.StartsWith(Textbox2.Text + " ") And Not String.IsNullOrEmpty(Textbox2.Text) Then
Textbox1.Text = Textbox1.Text.Remove(0, Textbox2.TextLength)
Textbox3.AppendText("a")
End If
Btw: after i finish this step my project will be finished!
I often get calls from a friend of mine's company saying "ahhh our email is not working!". I thought I could write a program that would test a few things that they could run and have easy answers to my questions when they call. Things like "Is your internet connection alive?", "can you send mail but not receive it?", etc.
[Code]...
I am creating a program where i need to calculate the mail exchange server name for a given domain name. I mean, if the domain name is [URL] then i need yahoo mail exchange server address. That is [URL] How can i get mail exchange server name for a domain name through coding in vb.net 2?
View 5 RepliesHere is my code
Dim message As System.Net.Mail.MailMessage = New System.Net.Mail.MailMessage()
message.To.Add("from textbox field")
message.Subject = "Testing"
[Code].....
I have mail server configuration data (server - user name - password - port) and i want to access it using vb.net and retrieve its mails in collection.i need to parse the email body to make some operations on it.
i tried to search for it but i found a complex samples.
below is my code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ProgressBar1.Value = 5
Dim strTo As String = setting.tosett.ToString[code].....
i want the program to ping the server before sending the mail; if server is available then send mail if not then message box with warning appears notifying user to check VPN connection and sending of mail is canceled.
I want to download mails from pop3 server to my local system ie.. something like what other mail clients do i can send mail successfully through system.net.mail.message & by creating a smtp client through system.net.mail.smtpclienthow
View 3 RepliesDoes anyone know of a way to programatically find the uptime of a server running Windows 2000? We have a service running on the machine written in VB.NET, that reports back to our server via a webservice.
View 4 RepliesCan anyone help me with finding all the table names in SQL Server Compact Edition (.sdf file)?
View 3 RepliesI've been working on this personal project of mine and this has me stumped. I told my friend what i was trying to do and hes going to let me use his mail server that he uses at work. I have already looked on google for a sample application, but the only one i could find is not the one im looking for. Ive never worked with System.Net.Mail before so this is new to me. Im sure it would be something like this:
Imports System.Net.Mail
Dim toPhoneNumber As String = "DestinationPhoneNumber";
Dim login As String =
[code].....
Sends emails with a pdf report attachment for the fire impairments. WORKS GREAT for in house emails but gets the error mentioned when sending outside of the hospital to the fire department. I can email from outlook to ERROR@cityofwsfire.org just fine.[code]
View 5 RepliesI have a project that up until recently has been working fine. It sends an email message to a user once a file has been successfully uploaded, registered and/or approved to use the website. It is written in VB.NET framework 1.1, running ASP.NET on a Windows 2003 server SE sp2.
First the code
Public Sub EmailAfterRegister(ByVal sEmail As String, ByVal sUser As String)
Try
[code]....
This has worked for over one or two years. Today I realized upon testing I get the following error:The procedure entry point IstrcmpiI could not be located in the dynamic link library MSDART.DLL.Upon some research I found that maybe I needed to install MDAC 2.8, which i downloaded and installed today, however i still get the same error. I have had my communications and network admins check traffic and connectivity to the smtp server and all is working fine. Yet I still get the error.
i want to send mail through my exchange server 2003 using visual basic 6.0, can any one guide me through the process how i can do this, i am using windows XP at client end.
View 2 RepliesI have a very simple .net application for testing SMTP on .net. But i am receiving this weird error.
[Code]...
I am looking to make a SMTP (Port 25) listener to listen in and accept incoming mail, look at the message source, make changes if needed, and retransmit the message out another port. This iwll make it act like a sort-of intermediary service.how one would write a port listener in VB.net, that could listen in on the port, and display the message in a text box (the whole source, headers and all, since that's what the mail comes in as anyway).
View 3 Replieshow i can write a realy basic e-mail program. all the program will need to do is recieve mails show the mail in a tekstbox and the subject in an other text box.or if you can tell me how i can let vb read things on my screen...
View 1 RepliesI have a piece of code which sends email with an attachment from my application. The code uses MAPI to send the email. It opens up a new email message so the user can add to the email message, and then the user clicks send.The code works fine. However there is one small problem. The email that the code opens, is always in Microsoft Outlook. Sometimes the application's user has Outlook Express set up as the default client, but my application always opens the new email message in Microsoft Outlook. (Outlook 2003. In the one user's machine that has Outlook 2007, everything works fine and the email opens up in Outlook Express.)As I searched for a solution, I saw this problem posed many times in various places on the Internet, with no solution (or none that worked). I did try several suggestions which involved creating registry settings and registering some dlls.
View 4 RepliesI am teaching myself vb.net and wanted to change this code to have an embedded mail.boby from a text file instead of the file attachment. Code spippet below and where I need help is mail.Body = ("tracertALL.txt")
that just puts the name of the file NOT the contents of the file. This code is a CMDWrapper that runs a batch file and I want the contents of a trace route that is pipe to a file >> tracertALL.txt .
[Code]...
I'm trying to update some older software which uses the now-declared-obsolete System.Web.Mail classes.Unfortunately, I don't really know a heck of a lot about email, so I'm looking for advice.
Here is the fragment of code I'm looking at revising:
[Code]...
From what I can tell, this should be configuring some kind of sending option. I can kind of work out what's going on, but I don't know how I should go about re-implementing it.It's looking like the place to be putting this stuff is now in the System.Net.Mail.SmtpClient.Credentials class, but the information in there doesn't seem to bear any resemblance to what I have here.I'm almost certain I'm making some obvious error, here, but I can't see it. Can someone tell me what I should be doing?
Sending email in .NET through Gmail
I tried sending e-mail with Gmail SMTP and System.Net.Mail as follows[code]....
I'm teaching myself vb.net and found this VB.NET SMTP codeand I wanted to add a mail.cc and mail.bcc but get an error Property cc is ReadOnly.and don't know how to fix. then I found this code
Dim CC As MailAddress = New MailAddress(TextBox5.Text) 'For some reason it's required field
mail.CC.Add(CC)
[code].....
MVC3, VB.NET. I have a function in my app that is supposed to use a html file's contents for the email body. However what I have so far is failing at the mail.body = file.readalltext(_body) line..
[Code]...
I want to send mail from my yahoomail Id.How to send mail from yahoo mail Id in VB.NET or C#.NET code.
View 3 RepliesHow can i create an application to send emails using lotus notes mail ?
View 4 Replies