Hi,
On Mon, Mar 07, 2005 at 11:54:56AM +0100, Jan Schiefer wrote:
This is an attempt of an basic MAPISendMail() implementation. It does, what is should, it sends mails.
Much more work is needed especially to clean it up and to implement more features. ( Getting rid of printf's would be a good point to start... )
You mean much more work such as including mail.c in the patch? :)
Andreas Mohr
Andreas Mohr wrote:
Hi,
On Mon, Mar 07, 2005 at 11:54:56AM +0100, Jan Schiefer wrote:
This is an attempt of an basic MAPISendMail() implementation. It does, what is should, it sends mails.
Much more work is needed especially to clean it up and to implement more features. ( Getting rid of printf's would be a good point to start... )
You mean much more work such as including mail.c in the patch? :)
Also, I believe MAPISendMail should just forward to the appropriate mail provider, rather than implementing mail sending itself.
Rob
On Mon, 07 Mar 2005 09:54:43 -0600, Robert Shearman wrote:
Also, I believe MAPISendMail should just forward to the appropriate mail provider, rather than implementing mail sending itself.
More to the point, isn't this supposed to bring up the users email client? We can't do that on Linux so I'm not sure how it can be implemented properly yet....
Mike Hearn wrote:
On Mon, 07 Mar 2005 09:54:43 -0600, Robert Shearman wrote:
Also, I believe MAPISendMail should just forward to the appropriate mail provider, rather than implementing mail sending itself.
More to the point, isn't this supposed to bring up the users email client? We can't do that on Linux so I'm not sure how it can be implemented properly yet....
Gnome has the notion of "default email client", i suspect KDE has it too.
bye michael
On Mon, 2005-03-07 at 20:21 +0100, Michael Stefaniuc wrote:
Gnome has the notion of "default email client", i suspect KDE has it too.
Unless you use Bonobo+Evolution (and maybe KMail+DCOP) though you can't match the abilities of MAPI, which lets you create arbitrary emails.
Mike Hearn wrote:
On Mon, 2005-03-07 at 20:21 +0100, Michael Stefaniuc wrote:
Gnome has the notion of "default email client", i suspect KDE has it too.
Unless you use Bonobo+Evolution (and maybe KMail+DCOP) though you can't match the abilities of MAPI, which lets you create arbitrary emails.
Mozilla's command-line API also lets you create rich messages as well (attachments, to/from/subject, body). Perhaps a "wine-mapi" shell script might be required until freedesktop comes up with a proper mail sending spec?
http://www.mozilla.org/docs/command-line-args.html
Matt.
On Tue, 08 Mar 2005 12:53:44 -0700, Matthew Mastracci wrote:
Mozilla's command-line API also lets you create rich messages as well (attachments, to/from/subject, body). Perhaps a "wine-mapi" shell script might be required until freedesktop comes up with a proper mail sending spec?
Yes, that could work, and there is prior art in the form of winebrowser. I say go for it.
thanks -mike
On poniedziaĆek 07 marzec 2005 02:40 pm, Mike Hearn wrote:
On Mon, 2005-03-07 at 20:21 +0100, Michael Stefaniuc wrote:
Gnome has the notion of "default email client", i suspect KDE has it too.
Unless you use Bonobo+Evolution (and maybe KMail+DCOP) though you can't match the abilities of MAPI, which lets you create arbitrary emails.
Using dcop with kmail gives you more power, but for basic functionality command line suffices:
echo "Hello!" > contents_file kmail \ --subject "Test email" \ --header "In-Reply-To: 1110224432.3769.40.camel@littlegreen" \ --msg contents_file \ --composer
Cheers, Kuba