An Incoming/outgoing Server " Smtp "?
Jul 13, 2011Is it possible to make a program similar to outlook express where I can send/receive emails , I already made one sending emails but I need to receive emails too
View 2 RepliesIs it possible to make a program similar to outlook express where I can send/receive emails , I already made one sending emails but I need to receive emails too
View 2 RepliesI have a server which has around 300+ users on it. Though the problem is that its coded in VB6, and if somebody has a bad ping, everybody has a bad ping. I need a tunneling server which will tunnel the incoming and outgoing connections and make there ping appear to be 0 in the server. Client to Server, Server to Client.
View 1 RepliesIs there a way I could block connections to an IP address (Incoming and Outgoing) in Visual C+/C#/C???
I have a different method, using the windows hosts file. I could make it redirect, but on the host file, could I make it launch a certain application when it blocks an IP. Like, launch a file called blocked.html that says "Webpage blocked" on it? [code]...
Is it possible to filter the incoming and outgoing data on a COM port terminal... to distinguish it?
View 2 RepliesI'm using the TcpClient and TcpListener classes to read/write to the network when a request comes in on port 25. All I'm trying to do at the moment is make it so that my server program can receive SMTP messages from other SMTP servers. I've tested in Telnet - if I connect to my own IP on port 25 and type EHLO, MAIL FROM, RCPT TO, DATA etc then all works as it should and the details I entered are logged by the program (it doesnt do anything about delivering these details/email yet).all looks good... but then when I try and just send an email to my domain from my work account I can see that a connection is made to my program and the string "EHLO workdomain.com " is received by my program - my program responds to the remote SMTP server with "250-mydomain.com Hello" and then a CrLF and then "250-OK". After that point however, my app does not receive anything further at all from the server at work. I'm guessing I am doing something wrong with the data I'm returning when it sends EHLO but can anyone point me in the correct direction?
I was using telnet to test with, it seems that I have made it work only with telnet.In telnet each time I type a key the data is passed to the server, however with a real SMTP server it just sends each entire command in one go. So after altering my server a little I can now get it to respond with the 250-OK which I thought it already was doing.. but it still doesnt work. The remote server just sends EHLO and then thats it nothing more.Something interesting, at the moment I am ending all of my responses to the remote server with VbLf - if I change this to VbCrLf (which is what I believe it is meant to be according to the SMTP standard) then I get an infinite amount of empty strings sent to my program (or perhaps some other character that just shows as an empty string in intellisense when stepping through the code). Changing it back to just vbLf or ControlChars.Lf makes it go back to just sending EHLO and then nothing else..
i'm tying to send email in my application directly by the smtp server but the server doesn't allow me to do that.The application its used by everyone in the company, so i set the smtp client UseDefaultCredentials to True, but the server replies with this when i try to send an email:[code].....If i set the credentials by hand, the server sends the email. So my problem is how to make this work to everyone? I don't want to have one public/friend var all time in the application with the credentials of the current user?
View 9 RepliesThis emailing code wont seem to work in my program. I get an exception "The SMTP server requires a secure connection or the client was not authenticated. The server response was 5.5.1 authentication required."
Imports System.Net.Mail
Public Class emailStudent
Private Sub sendEmailButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles sendEmailButton.Click
SendMail()
[code]....
Is it possible to only change the SMTP adress with VB.Net ???
I searched but no answer..Maybe with VBscript...(another forum)
My app sends an email (see code snippet below) but I want to check first if the SMTP server is running in IIS7.
mySMTPClient.Host = "localhost"
mySMTPClient.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network
mySMTPClient.Send(myMail)
results.Dispose()
Here 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 need to encrypt my SMTP server password in my application. It is not located in a textbox on a form, but rather directly in the code.
View 4 RepliesI'm trying to make an e-mailer that connects to an SMTP server.
Ive looked everywhere and Id prefer if it was explained how to put it into my code.
[code...]
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.
Apparently these two thing don't really have anything to do with eachother.Is there a way to send EMails anonymously through an SMTP Server?
View 8 RepliesI have a VB.net Application running on the server which will be sending emails close to 200 everyday. Following is my coding:
Dim objNewMail = CreateObject("CDO.Message")
objNewMail.Configuration.Fields.Item("[URL]") = 2
objNewMail.Configuration.Fields.Item("[URL]") = "localhost"
objNewMail.Configuration.Fields.Item("[URL]") = 25
objNewMail.Configuration.Fields.Update()
objNewMail.From = mailFrom
objNewMail.To = mailTO
[Code] .....
The above codes runs inside a loop. The above code runs quite well without any issues. But once or twice a month, I get the following error message and application stops.
System.Runtime.InteropServices.COMException (0x80040213): The transport failed to connect to the server.
I am using following code to send email through smtp server, I have tested this code on my machine and its working fine but after deploying the project on server 2003, exe file runs okay but i am not receiving any emails?
'create the mail message
Dim mail As New MailMessage()
Dim smtp As New SmtpClient("smtp.server.europe.com")[code].......
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim mail As New MailMessage
[Code]....
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required
i am working on a my project, which send email to me using gmail.smtp, it works fine on xp, vista, and + some of windows 7 versions, in few pc's i had tried that, and got a issue.here is detail of error i got in there, i am using visual studio 2008 & a internet with proxy server,n my openion its a problem with internet ? maybe ? because when i had used this on my dsl connection it worked.
View 7 RepliesSo I'm making a Program to Start/Restart/Stop and running commands from the Console for my Server.Now when someone uses the console, I want to be alerted of it on my Mail.I am using Visual Studio 2010.
[Code]...
I'm trying to write my own SMTP server at the moment so that people can use it in their applications to send and receive emails.I am having a few problems at the moment with the TcpListener side of things though. Basically I do not want to start the TcpListener in the constructor of my class because people could be using this SMTP Server class just to send emails and might not care about receiving them. In fact the majority of people that use it will probably use it for that reason, to send and not to receive.
So I am now considering breaking this into 2 totally separate projects that have no dependencies on each other, but could easily be used in the same application if required. The reason I designed this with both 'features' in the same project in the first place was because that is how an SMTP server works - it can receive incoming SMTP requests and it can send SMTP server requests to other servers (and in some cases, receiving an SMTP request would cause it to send an SMTP command to another server)
I have taken an interest in creating a SMTP server in vb.net that has the ability to hide ip addresses in email headers.I see that some people claim that it's possible around on the internet, but I haven't seen any direct source code to create an anonymous smtp server in visual basic 2008.Now I know that it's legal to send emails via a masked ip address and I believe that it's also fair since some people believe in anonymity, but I am in all means against spammers.
View 2 RepliesI am trying to get this program to send an email, but still no luck. I am getting the following error that I do not understand. I do not understand what I am doing wrong. Also, I may have an issue that the computer I am writing this code on and trying to send the message does not have ISS and is just windows XP home.
The error is below
System.Net.Mail.SmtpException was unhandled
Message="The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. k41sm2133530rvb.6"
[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 Repliesm new in Visual Basic programming, recently I have developed an application to send and receive UDP packets using the Socket Class. Everything is working ok, but there is one more thing I have to acomplish, which is specify the outgoing UDP port for outgoing packets (SendTo method), I need to do that because the application in the other side just process packets from an specific UDP port at the origin
View 3 Repliessomeone know how to change the name of .tif image after sent a fax??i've these object:
Set FaxServer = CreateObject("FaxServer.FaxServer.1")
Set FaxDoc = FaxServer.CreateDocument(Server.MapPath("fax.doc"))
Is there a way I could block connections to an IP address (Incomming and Outgoing) in visual basic 2008? I have a different method, using the windows hosts file. I could make it redirect, but on the host file, could I make it launch a certain application when it blocks an IP. Like, launch a file called blocked.html that says "Webpage blocked" on it? and if u get this far, how can I see when an app attempts to connect to the internet. Like on bit defender firewall, say aim6.exe trys to connect to a server, how could i warn the user of this???? (Maybe using winsock)
View 1 RepliesIt doesn't look like much is out there after searching but I was wondering if anyone has seen any vb.net projects to create a simple outgoing telephone dialer? Maybe something that can talk to a PC modem?
I'm not sure but was even wondering if this is something that can be done in a procedure? Doesn't look like there are any features that lend itself to it.
I thought also, I may do something with an RS232 stream and then use an external hardware dialer.....if I did that, I'm sure I could do the code in a Sub.
Recently I've been into PBX call accounting programming on VB.Net 2010. My results are way too successful including friendly user-interface and connection datareceiving coding. Except for one. That is the call duration of calls, incoming and especially those outgoing. In my project I didn't use any API (like TAPI for PBXs) thus is there any option how to detect the state of the outgoing call, whether is still ringing, ended without answer or answer at some point of time...because in my project nevertheless what call state is being processed, I'm getting the total call duration from the moment that call was initiated to the moment is being finished or not-answered.
Here is a sample of my project where the DataReceived event is fired whenever there's something to parse from PBX to the PC.
Programming language : Visual Studio 2010 Ultimate - Visual Basic .Net
Database : Microsoft SQL Database
PBX Machine : Panasonic KX-TEM824
P.s. If you need to provide some code I'll post a sample of my project where the DataReceived Event is being handled.
I want to write a Macro or script to identify if there is any SSN like numbers in the outgoing outlook mail? The SSN format can be like 123-45-6789 or 123456789. Is it possible with outlook Macro?
View 2 RepliesIs there a way to determine if a System.Net.Sockets.Socket has sent data that has not been received/read by a specified remote endpoint with a connectionless protocol?It never hurts to try.
View 1 Replies