Re: [Evolution] Command to "Send as attachment"
On Mon, 2018-10-22 at 18:01 +0200, Ralf Mardorf via evolution-list wrote: > On Mon, 2018-10-22 at 16:24 +0100, Patrick O'Callaghan wrote: > > On Mon, 2018-10-22 at 10:54 +0200, Ralf Mardorf via evolution-list > > wrote: > > > PS: > > > > > > To sent mails by command line I wouldn't use Evolution with 'mailto'. > > > Consider to use a 'sendmail' replacement such as 'msmtp', see > > > https://mail.gnome.org/archives/evolution-list/2014-May/msg00183.html. > > > > SendEmail is another option. 'dnf install sendemail'. > > Hi, > > while it seems to be easy to use, upstream unfortunately released the > last version 9 years ago. > > On Arch Linux: $ yaourt -Syua sendemail > > http://caspian.dotconf.net/menu/Software/SendEmail/ > https://tecadmin.net/send-email-from-gmail-smtp-via-linux-command/ There is a Fedora package for F28 (latest stable version) so I don't think that matters. SMTP hasn't changed in 9 years. 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] Command to "Send as attachment"
On Mon, 2018-10-22 at 16:24 +0100, Patrick O'Callaghan wrote: > On Mon, 2018-10-22 at 10:54 +0200, Ralf Mardorf via evolution-list > wrote: > > PS: > > > > To sent mails by command line I wouldn't use Evolution with 'mailto'. > > Consider to use a 'sendmail' replacement such as 'msmtp', see > > https://mail.gnome.org/archives/evolution-list/2014-May/msg00183.html. > > SendEmail is another option. 'dnf install sendemail'. Hi, while it seems to be easy to use, upstream unfortunately released the last version 9 years ago. On Arch Linux: $ yaourt -Syua sendemail http://caspian.dotconf.net/menu/Software/SendEmail/ https://tecadmin.net/send-email-from-gmail-smtp-via-linux-command/ Regards, Ralf ___ 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] Command to "Send as attachment"
On Mon, 2018-10-22 at 10:54 +0200, Ralf Mardorf via evolution-list wrote: > PS: > > To sent mails by command line I wouldn't use Evolution with 'mailto'. > Consider to use a 'sendmail' replacement such as 'msmtp', see > https://mail.gnome.org/archives/evolution-list/2014-May/msg00183.html. SendEmail is another option. 'dnf install sendemail'. 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] Command to "Send as attachment"
Hi Ralf, Il giorno lun, 22/10/2018 alle 10.32 +0200, Ralf Mardorf via evolution-list ha scritto: > On Mon, 22 Oct 2018 10:20:10 +0200, Andrea Vai wrote:[...] > "[snip] > It is also possible to specify initial values for headers (e.g. > subject, cc, etc.) and message body in the URL. Blanks, carriage > returns, and linefeeds cannot be embedded but must be percent- > encoded. > > mailto:some...@example.com?subject=This%20is%20the%20subjec > t=someone_e...@example.com=This%20is%20the%20body">Send > email > > [snip] > > References > > Hoffman, Paul; Masinter, Larry; Zawinski, Jamie (July 1998). "The > mailto URL scheme" > [https://tools.ietf.org/html/rfc2368]. > Retrieved 26 September 2015. Duerst, Martin; Masinter, Larry; > Zawinski, > Jamie (October 2010). "The 'mailto' URI Scheme" > [https://tools.ietf.org/html/rfc6068]. > Retrieved 26 September 2015." - https://en.wikipedia.org/wiki/Mailto thank you very much, I was totally not aware of it Bye, Andrea > ___ 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] Command to "Send as attachment"
PS: To sent mails by command line I wouldn't use Evolution with 'mailto'. Consider to use a 'sendmail' replacement such as 'msmtp', see https://mail.gnome.org/archives/evolution-list/2014-May/msg00183.html. ___ 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] Command to "Send as attachment"
On Mon, 22 Oct 2018 10:20:10 +0200, Andrea Vai wrote: >this wakes on me some interest about running simple evolution actions >from the command line, i.e. I tried > >evolution "mailto:j...@example.com?attach=myFile.pdf=Test; > >and it works, so I was wondering if there are any other fields >available (message body, for example?). Is this kind of things >anywhere documented? Sorry but I cannot find it. "[snip] It is also possible to specify initial values for headers (e.g. subject, cc, etc.) and message body in the URL. Blanks, carriage returns, and linefeeds cannot be embedded but must be percent-encoded. mailto:some...@example.com?subject=This%20is%20the%20subject=someone_e...@example.com=This%20is%20the%20body;>Send email [snip] References Hoffman, Paul; Masinter, Larry; Zawinski, Jamie (July 1998). "The mailto URL scheme" [https://tools.ietf.org/html/rfc2368]. Retrieved 26 September 2015. Duerst, Martin; Masinter, Larry; Zawinski, Jamie (October 2010). "The 'mailto' URI Scheme" [https://tools.ietf.org/html/rfc6068]. Retrieved 26 September 2015." - https://en.wikipedia.org/wiki/Mailto ___ 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] Command to "Send as attachment"
Hi all, Il giorno ven, 19/10/2018 alle 09.12 -0400, Durrance ha scritto: > That worked perfectly. Thank you. > > On Fri, 2018-10-19 at 14:36 +0200, Ángel wrote: > > Hello Durrance > > > > You provide that in the mailto parameter: > > evolution "mailto:j...@example.com?attach=/etc/passwd; > > > > So in this case I guess the exec line should be: > > Exec=evolution "mailto:?attach=%F; this wakes on me some interest about running simple evolution actions from the command line, i.e. I tried evolution "mailto:j...@example.com?attach=myFile.pdf=Test; and it works, so I was wondering if there are any other fields available (message body, for example?). Is this kind of things anywhere documented? Sorry but I cannot find it. Thank you, Andrea (running evo 3.28.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] Command to "Send as attachment"
That worked perfectly. Thank you. On Fri, 2018-10-19 at 14:36 +0200, Ángel wrote: > Hello Durrance > > You provide that in the mailto parameter: > evolution "mailto:j...@example.com?attach=/etc/passwd; > > So in this case I guess the exec line should be: > Exec=evolution "mailto:?attach=%F; > > (will probably not work if the filename contains special chars, as you > probably would need them urlencoded) > > Best regards > > ___ > 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-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] Command to "Send as attachment"
Hello Durrance You provide that in the mailto parameter: evolution "mailto:j...@example.com?attach=/etc/passwd; So in this case I guess the exec line should be: Exec=evolution "mailto:?attach=%F; (will probably not work if the filename contains special chars, as you probably would need them urlencoded) Best regards ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... https://mail.gnome.org/mailman/listinfo/evolution-list