hope to find some informations about Smtp pop client in mono.
I have looked in Mono Documentation. There is only C# code explained.
Where to start ?
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
My interest is in the general networking functions such like TCP/IP and other for inplementing
networking function in an application with cobra code. Not : C# code
Thus any example code for those that is explaining the "includings of such libraries inside Mono"
in the cobra code would be a pleasant matter.
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
The matter is to beat languages like Python that have networking libraries in and also some clear and
practical examples.
![Shocked :shock:](./images/smilies/icon_eek.gif)
I MEAN THIS EXAMPLES FROM PYTHON STANDARD LIBRARY:
- Code: Select all
>>> from urllib.request import urlopen
>>> with urlopen('http://tycho.usno.navy.mil/cgi-bin/timer.pl') as response:
... for line in response:
... line = line.decode('utf-8') # Decoding the binary data to text.
... if 'EST' in line or 'EDT' in line: # look for Eastern Time
... print(line)
<BR>Nov. 25, 09:43:32 PM EST
>>> import smtplib
>>> server = smtplib.SMTP('localhost')
>>> server.sendmail('soothsayer@example.org', 'jcaesar@example.org',
... """To: jcaesar@example.org
... From: soothsayer@example.org
...
... Beware the Ides of March.
... """)
>>> server.quit()
Mono has definetly networking protocolls in but in C# language.
Thus an example in Cobra is a must in my opinion.
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
ONLY COBRA ! Cobra can beat Python. That is a shure thing. But everyone must SEE the methods.
WBR
Ach