Homestar Runner Wiki Forum

A companion to the Homestar Runner Wiki
It is currently Fri Jul 11, 2025 8:54 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: SBEMail client
PostPosted: Mon Feb 12, 2007 1:52 am 
Offline

Joined: Mon Feb 12, 2007 1:44 am
Posts: 5
Hi all,
I couldn't find this anywhere yet, so... I wrote a sbemail client for the command line. It requires libvmime >= 0.81 and libncurses and should compile fine under Linux, though it's probably not hard to port to Windows and MacOS X.
I'd be happy to hear comments if you've given it a try.
There's a short usage description at the top of the cpp file. It currently talks to IMAPs and SMTP servers.
See http://tinyurl.com/3dhuva for the source.
TK


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 12, 2007 8:17 am 
Offline
User avatar

Joined: Thu Jan 19, 2006 11:01 am
Posts: 2359
Location: LV-426
cool.
what does it do?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 12, 2007 1:06 pm 
Offline

Joined: Mon Feb 12, 2007 1:44 am
Posts: 5
ready for prime time wrote:
cool.
what does it do?


It displays an email and lets you reply to it (simply by typing the reply) or delete it. Optionally it can then display another email. "Useful" I hear you say? Indeed ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 03, 2007 9:57 pm 
Offline

Joined: Mon May 01, 2006 2:28 pm
Posts: 13
Location: Ha Ha Ha!! You actually thought I would tell you?!
I can't figure it out. How do you get it to work? I installed libmime-08.1 and now I don't know what to do.

_________________
I get bored easily. You have been warned...


Check out my website! :
http://pic1.piczo.com/goofygrrl


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 03, 2007 10:44 pm 
Offline

Joined: Mon Feb 12, 2007 1:44 am
Posts: 5
Sweetie_Pie wrote:
I can't figure it out. How do you get it to work? I installed libmime-08.1 and now I don't know what to do.


Could you be more specific please as to what's not working? Essentially here are the necessary steps:
1) Download sbemail.cpp and sbemail.h into some directory
2) Compile: E.g. "g++ -c -O2 -o sbemail.o sbemail.cpp"; note that you'll probably have to specify your libvmime include directory, i.e. "g++ -c -O2 -o sbemail.o -I/thisis/where/I/installed/libvmime/ sbemail.cpp".
3) Link: E.g. "g++ -o sbemail -s sbemail.o -lvmime -lncurses"; but again you'll most certainly have to specify your libvmime library directory, i.e. "g++ -o sbemail -s sbemail.o -L/thisis/where/I/installed/libvmime/src/.libs" -lvmime -lncurses" or something.
4) Run! I mean, run the program. You have to specify an IMAPs server on the command line, from which you'll fetch an email. Oh: If you're using your own version of libvmime, you may also need to set the LD_LIBRARY_PATH variable so that the library is found at run-time, e.g. "LD_LIBRARY_PATH=/thisis/where/I/installed/libvmime/src/.libs ./sbemail -s myserver.etc -u depressio".

Let me know if any of this isn't clear or if you're encountering errors. Sorry for the difficulties with the vmime library; if you install it properly into your system you won't have to do any of the awkward stuff above.

Good luck!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 04, 2007 12:23 am 
This would go perfectly on the Fanstuff wiki.


Top
  
 
 Post subject:
PostPosted: Sun Mar 04, 2007 12:52 am 
Offline

Joined: Mon May 01, 2006 2:28 pm
Posts: 13
Location: Ha Ha Ha!! You actually thought I would tell you?!
What seems to be the problem is, I click "sbemail.cpp" and "sbemail.h" I get a whole long page of text. I have no idea how to even download them. I'm clueless. :p

_________________
I get bored easily. You have been warned...


Check out my website! :
http://pic1.piczo.com/goofygrrl


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 04, 2007 1:23 am 
Offline

Joined: Mon Feb 12, 2007 1:44 am
Posts: 5
The Joe wrote:
This would go perfectly on the Fanstuff wiki.


Thanks; I shall repost there!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 04, 2007 1:27 am 
Offline

Joined: Mon Feb 12, 2007 1:44 am
Posts: 5
Sweetie_Pie wrote:
What seems to be the problem is, I click "sbemail.cpp" and "sbemail.h" I get a whole long page of text. I have no idea how to even download them. I'm clueless. :p


You can either try "save as" in your browser when you open those files, or on the previous page right-click the link and say "save target as"...

You will need some working compiler around, though; if you're unfamiliar with compiling C++ source, maybe this isn't a good idea... Also, I don't currently have a working version for Windows because of the lack of working vmime and ncurses libraries for that (but that's purely my own problem; in principle it could be done easily).


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 04, 2007 4:47 am 
Offline

Joined: Mon May 01, 2006 2:28 pm
Posts: 13
Location: Ha Ha Ha!! You actually thought I would tell you?!
I have no idea about how to compile. So this wouldn't be a good idea. That sux. I want to use that.

_________________
I get bored easily. You have been warned...


Check out my website! :
http://pic1.piczo.com/goofygrrl


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group