This forum has been archived. All content is frozen. Please use KDE Discuss instead.

sending email by kmail command line

Tags: None
(comma "," separated)
sacarde
Registered Member
Posts
149
Karma
0

sending email by kmail command line

Sun Apr 19, 2009 12:07 pm
HI,
in kde 3.5.10

I use this for send email:

kmail -s "Test mail" --attach /home/psimem/tosend/*.pdf --msg /home/psimem/tosend/mailmessage.txt psimem@psimem.it

but I have to :

- enter password
- press enter

and mail is sent

may I done all in one step ?



thankyou
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS
KMail only asks for a password if you don't have it stored in either KWallet or KMail's configuration.

I think you will still have to manually send the mail, since the command opens a composer window.
It might be possible trigger the send action through DCOP, but you'll have to experiement on this yourself.

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, gfielding, Google [Bot], markhm, sethaaaa, Sogou [Bot], Yahoo [Bot]