Re: [Evolution] Evo and command line mode

2012-05-30 Thread Pete Biggs
On Tue, 2012-05-29 at 19:51 +0200, Matthias Apitz wrote:
 El día Tuesday, May 29, 2012 a las 03:20:43PM +0100, Pete Biggs escribió:
 
 $ evo -t recipi...@zone.foo -a file-to-attach -m short msg for boy

   That's a pitty and a missing feature, I think.
  
  Why not just use the mail command?  e.g.
  
$ echo short msg for boy | mail -a file-to-attach recipi...@zone.foo
  
  I realise it may require setting up sendmail (or equivalent) on your
  local machine, but that's not a tremendously difficult thing.
 
 I do run sendmail on all my FreeBSD laptops, even on my netbook where I
 am typing this lines now, and not only sendmail, but SASL and SSL to my
 SMTP provider; no problem with this; but in my business world I have to
 use a MS Exchange server without SMTP and POP, only OWA, and for this I
 have to use either OutLook or Evo (free of this restriction I never
 would use Evo, but 'mutt' as MUA); 
 
 sometimes I need send out mail in my office in some kind of batch mode,
 to organize projects or whatever, and it would be very usefull to be
 able to queue-in such messages from the cmd line (or even from shell
 scripts) just into the normal Evo infrastructure, i.e. that they go
 their way upstream as sent from Evo itself;
 
 do you understand now what I am asking for?
 

Yes, of course I do - you never said though that Exchange was involved,
if you did I wouldn't have suggested using the mail command.  You asked
for a command line mode to send emails, I gave you a suggestion.

OK, more suggestions.  Is it MAPI you are using?  If so, then there are
various python/php/perl MAPI libraries you could use to interface with
the Exchange server.  I'm sure if you look hard enough there are also
EWS variants.

Also, you could look at DavMAIL - that implements a local SMTP port
(amongst many other things) as a bridge to an Exchange server - it will
talk either MAPI or EWS.  (You can change the port number used for the
local SMTP port so it doesn't clash with your current sendmail/SMTP
configuration.)

I *know* this isn't using the Evo infrastructure to send the mail, but
since that is not currently possible, these are just some alternate
suggestions.

P.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evo and command line mode

2012-05-30 Thread Matthias Apitz
El día Wednesday, May 30, 2012 a las 10:17:54AM +0100, Pete Biggs escribió:

 Yes, of course I do - you never said though that Exchange was involved,
 if you did I wouldn't have suggested using the mail command.  You asked
 for a command line mode to send emails,

I've asked for a command line mode of Evo(!) to send mail using the
infrastructure and config of Evo, but not for a general command line
mode/tool to send mail;

Is it worth to file this as a feature request for Evo?

 I gave you a suggestion.

Thanks for them and the new ones in any case.

matthias

-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evo and command line mode

2012-05-30 Thread Andre Klapper
On Wed, 2012-05-30 at 13:11 +0200, Matthias Apitz wrote:
 I've asked for a command line mode of Evo(!) to send mail using the
 infrastructure and config of Evo, but not for a general command line
 mode/tool to send mail;
 
 Is it worth to file this as a feature request for Evo?

No, as I would close it as WONTFIX. 
Patches accepted though.

andre
-- 
mailto:ak...@gmx.net | failed
http://blogs.gnome.org/aklapper

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evo and command line mode

2012-05-30 Thread Adam Tauno Williams
On Wed, 2012-05-30 at 13:11 +0200, Matthias Apitz wrote:
 El día Wednesday, May 30, 2012 a las 10:17:54AM +0100, Pete Biggs escribió:
 
  Yes, of course I do - you never said though that Exchange was involved,
  if you did I wouldn't have suggested using the mail command.  You asked
  for a command line mode to send emails,
 
 I've asked for a command line mode of Evo(!) to send mail using the
 infrastructure and config of Evo, but not for a general command line
 mode/tool to send mail;
 
 Is it worth to file this as a feature request for Evo?

I think so.  I wonder if it is possible to utilize Evolution to send an
e-mail via D-Bus?  I know other information can be managed via the bus.

But I only see org.evolution.Calendar? , org.evolution.AddressBook? ,
org.gnome.EvolutionAlarmNotify, and org.gnome.Evolution [which is
generic application control].  Nothing that seems to pertain to mail.
Bummer.  If mail was exposed that would be a simple means for all manner
of tools.

  I gave you a suggestion.
 Thanks for them and the new ones in any case.

Well, mailto: links work.

awilliam@workstation:~ evolution \
   mailto:awill...@whitemice.org?subject=dude you are so awesome

I doubt you can do attachments.



signature.asc
Description: This is a digitally signed message part
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evo and command line mode

2012-05-30 Thread Thomas Prost
Am Mittwoch, den 30.05.2012, 07:21 -0400 schrieb Adam Tauno Williams:

 
 Well, mailto: links work.
 
 awilliam@workstation:~ evolution \
mailto:awill...@whitemice.org?subject=dude you are so awesome
 
 I doubt you can do attachments.

thomas@K7VT4A:~$ evolution \ mailto:awill...@whitemice.org?subject=dude
you are so awesome
Anzeige kann nicht geöffnet werden: 
(means something like =Display cannot be opened:=)
thomas@K7VT4A:~$ 

Did I try the wrong things ?
-- 
Thomas Prost thomas.pr...@prosts.info
ProstsInfo

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evo and command line mode

2012-05-30 Thread Adam Tauno Williams
On Wed, 2012-05-30 at 19:27 +0200, Thomas Prost wrote: 
 Am Mittwoch, den 30.05.2012, 07:21 -0400 schrieb Adam Tauno Williams:
  Well, mailto: links work.
  awilliam@workstation:~ evolution \
 mailto:awill...@whitemice.org?subject=dude you are so awesome
  I doubt you can do attachments.
 thomas@K7VT4A:~$ evolution \ mailto:awill...@whitemice.org?subject=dude
 you are so awesome
 Anzeige kann nicht geöffnet werden: 
 (means something like =Display cannot be opened:=)
 thomas@K7VT4A:~$ 
 Did I try the wrong things ?

No, this will only work within a GNOME session.  Evolution is a GNOME
application, and you need a DISPLAY.  


signature.asc
Description: This is a digitally signed message part
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evo and command line mode

2012-05-30 Thread Thomas Prost
Am Mittwoch, den 30.05.2012, 13:30 -0400 schrieb Adam Tauno Williams: 
 On Wed, 2012-05-30 at 19:27 +0200, Thomas Prost wrote: 
  Am Mittwoch, den 30.05.2012, 07:21 -0400 schrieb Adam Tauno Williams:
   Well, mailto: links work.
   awilliam@workstation:~ evolution \
  mailto:awill...@whitemice.org?subject=dude you are so awesome
   I doubt you can do attachments.
  thomas@K7VT4A:~$ evolution \ mailto:awill...@whitemice.org?subject=dude
  you are so awesome
  Anzeige kann nicht geöffnet werden: 
  (means something like =Display cannot be opened:=)
  thomas@K7VT4A:~$ 
  Did I try the wrong things ?
 
 No, this will only work within a GNOME session.  Evolution is a GNOME
 application, and you need a DISPLAY.

... yes, sorry, I was so keen to experiment, that I didn't see, I was on
another machine :-(
Local try could have sent you a mail if the white mice are online ;-)
-- 
Thomas Prost thomas.pr...@prosts.info
ProstsInfo

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evo and command line mode

2012-05-30 Thread David Woodhouse
On Tue, 2012-05-29 at 19:51 +0200, Matthias Apitz wrote:
 in my business world I have to
 use a MS Exchange server without SMTP and POP, only OWA, and for this I
 have to use either OutLook or Evo (free of this restriction I never
 would use Evo, but 'mutt' as MUA); 

It's not that hard to script something that'll send using EWS or
ActiveSync from the command line, given a full RFC822 message as input.
You don't need Evolution for that.

You can also put pre-composed messages directly into Evolution's Drafts
folder, and then open them in the composer and just hit 'send'. I don't
know if it's possible to trigger that send step from outside the UI
though; I suspect not but it may well be possible to fix that.

And of course you *can* specify a lot of things, including a message
body, in a mailto: URL and have Evolution honour them all. But I don't
think it goes as far as attachments. That might be hard to fix because I
don't think you *want* it honouring 'attach=~/.ssh/id_rsa' in a mailto:
URL.

-- 
dwmw2


smime.p7s
Description: S/MIME cryptographic signature
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evo and command line mode

2012-05-30 Thread Matthew Barnes
On Wed, 2012-05-30 at 20:02 +0100, David Woodhouse wrote:
 And of course you *can* specify a lot of things, including a message
 body, in a mailto: URL and have Evolution honour them all. But I don't
 think it goes as far as attachments. That might be hard to fix because I
 don't think you *want* it honouring 'attach=~/.ssh/id_rsa' in a mailto:
 URL.

We support attachments in mailto: URLs; that's how nautilus-sendto talks
to us.  But we scrutinize each file name and discard anything suspicious
looking based on a set of rules and then show a warning message about it
in the composer window.

Matthew Barnes

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Evo and command line mode

2012-05-30 Thread Matthew Barnes
On Wed, 2012-05-30 at 15:31 -0400, Matthew Barnes wrote:
 We support attachments in mailto: URLs; that's how nautilus-sendto talks
 to us.  But we scrutinize each file name and discard anything suspicious
 looking based on a set of rules and then show a warning message about it
 in the composer window.

Er, rather, not discard but just identify.  My memory is glitchy.


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Avoiding automatic marking as read

2012-05-30 Thread Patrick O'Callaghan
Sorry for the obscure subject line but I couldn't think of a better one.

I've just installed Evo 3.4.1 on Fedora 17 and seem to be having a
Senior Moment. There used to be a setting to adjust the time after which
Evo would automatically mark an opened message as read, but I can't seem
to find it now.

If this has been eliminated I'll be seriously upset. My mode of working
is to leave messages flagged as new until I've dealt with them, then
mark them as read manually. The aforementioned setting used to
accommodate that, but now diligent searching in the Preferences pane has
failed to turn it up.

What's going on?

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Avoiding automatic marking as read

2012-05-30 Thread Matthew Barnes
On Wed, 2012-05-30 at 19:17 -0430, Patrick O'Callaghan wrote:
 I've just installed Evo 3.4.1 on Fedora 17 and seem to be having a
 Senior Moment. There used to be a setting to adjust the time after which
 Evo would automatically mark an opened message as read, but I can't seem
 to find it now.

It's still in GSettings:

   gsettings set org.gnome.evolution.mail mark-seen-timeout 1500

The value is in milliseconds.

Or to turn it off altogether:

   gsettings set org.gnome.evolution.mail mark-seen false

Matthew Barnes

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Avoiding automatic marking as read

2012-05-30 Thread Patrick O'Callaghan
On Wed, 2012-05-30 at 22:13 -0400, Matthew Barnes wrote:
 On Wed, 2012-05-30 at 21:28 -0430, Patrick O'Callaghan wrote:
  OK, thanks. Is there some rationale for removing this from the UI?
 
 Purging the more esoteric and seldom used options to try and get the
 window size under control.  There's more to be done but it's a start.

Perhaps a comment along the lines of For other options use 'gsettings'
from the Shell would at least give a hint.

poc

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list