We have 2 servers running our application. All the information between the 2 servers would be sent as SMTP messages so that they can be scanned by a email scanner. So we are into developing C# components to send and receive emails.
As far as send emails .Net framework provides built in SMTP client to send messages but the issue we are facing is to receive the messages using s socket listener. When a socket is bound to port to which smtpclient.send(message); is sent, it is receiving nothing. Shouldn't it receive the message as a stream? What are we missing?