Friday, March 16, 2007

mail me python!!!

It's there!!! - the book I ordered.
"Object oriented programming with python"

Ok, sounds boring, but for me it is something really great!
I staterted playing around with smtplib. Finally I managed to wirte mails using my own console application! It looks so cool when you're writing mails in a console window.

Green on Black - I will posta screenshot here soon!

Maybe you think this is very uncomfortable, but in fact it is lot easier and faster than using any complex applikation with a great gui and lot's of cool, but never used, functions. This thing I wrote simply writes mails. First it ask you for your email, the recipient's email and the subject. Then you write your mail text press return twice and that's it!
Every thing runs in text-mode. It looks something like this

>FROM: webmaster@the-engine.at

then...

>TO: webmaster@the-engine.at

then...

>SUBJECT: TestMail

and finally...

>MESSEGE: This is my testmessege..... may the force be with you!!! lg salendron.

and that's it!
What do you need more? Ok attachments! This will be a bigger challenge, but I think I will be able to implement it, but first I will implement a client for recieving mails. I am so excited! I love playing god for 1 and 0.

No comments: