how to make desktop app send email?


I have a desktop app ("gnomtime", actually, with 
several free-text areas in it.  It like to be able to add a menu item
that says "email this".  Clicking on the menu would start the user's
favorite email client, push the text into it, and let them complete
the addressing from there, etc.

What's the best way of doing this?

>From the programmers point of view, I'd like to have an API about
as simple as this:

void send_out_email (const char * text_to_be_sent);


pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas linas org>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]