Where to find cobra mono smtp client informations ?
Posted: Wed Jan 10, 2018 6:21 am
Hi there ,
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 ?
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.
The matter is to beat languages like Python that have networking libraries in and also some clear and
practical examples.
I MEAN THIS EXAMPLES FROM PYTHON STANDARD LIBRARY:
Mono has definetly networking protocolls in but in C# language.
Thus an example in Cobra is a must in my opinion.
ONLY COBRA ! Cobra can beat Python. That is a shure thing. But everyone must SEE the methods.
WBR
Ach
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 ?
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.
The matter is to beat languages like Python that have networking libraries in and also some clear and
practical examples.
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.
ONLY COBRA ! Cobra can beat Python. That is a shure thing. But everyone must SEE the methods.
WBR
Ach