Re: how to make desktop app send email?
- From: Maciej Katafiasz <mnews22 wp pl>
- To: Federico Mena Quintero <federico ximian com>
- Cc: desktop-devel-list gnome org, Linas Vepstas <linas linas org>
- Subject: Re: how to make desktop app send email?
- Date: Fri, 16 Jul 2004 04:49:01 +0200
W liście z pią, 16-07-2004, godz. 03:55, Federico Mena Quintero pisze:
> On Thu, 2004-07-15 at 12:58 -0500, Linas Vepstas wrote:
>
> > I have a desktop app ("gnomtime", actually, gttr.sourceforge.net) 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?
>
> Evolution provides two things for this:
>
> - evolution mailto:foo bar com?subject=Hello World&body=Good bye&
>
> - a CORBA interface for the composer
[snip]
Uhm, isn't there supposed to be mailto:// handler? This is very nice
crash course, but it's completely evolution specific.
AFAIR, way to open default handler is along the lines of
g_spawn_command_line_async ("gnome-open mailto:foo bar", &err);
right?
Cheers,
Maciej
--
"Tautologizm to coś tautologicznego"
Maciej Katafiasz <mnews2 wp pl>
http://mathrick.blog.pl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]