2 kmail questions
Charles Polisher
cpolish at surewest.net
Thu Mar 10 05:13:32 GMT 2011
On Wed, Mar 09, 2011 at 11:01:25PM +0000, Duncan wrote:
> Daniel Barna posted on Wed, 09 Mar 2011 23:18:13 +0100 as excerpted:
>
> > Hi,
> > I have a question and a feature request concerning kmail:
> >
> > - I want to send a temprary file attached to an email, from a script,
> > and then remove the temprary file:
> > kmail --composer --attach tmpfile rm -f tmpfile The problem with this is
> > that kmail returns immediately, so the tmpfile is removed immediately,
> > before the actual composer window could attach the file and send it. Is
> > there a solution for this?
mailx may be a better choice for mailing from a script.
$ < /tmp/foo.txt mailx -s Test chas at localhost ; rm /tmp/foo.txt
works for me.
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list