You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

malabarista

Beginner

  • "malabarista" started this thread

Posts: 2

Location: Germany

  • Send private message

1

Tuesday, March 22nd 2005, 5:10pm

Kmail

I want to send one email to about 20 adresses which i have in a file:
email1@xxx.dd
email2@xxx.dd
email3@xxx.dd
email4@xxx.dd

How is this possible ?

(i am not a spammer, i really will send only 20 emails)

Posts: 15

Location: Padova, Italy

Occupation: Student

  • Send private message

2

Tuesday, March 22nd 2005, 8:55pm

Well, if you can use something different from KMail, I'll suggest some command-line mailers (as mail). With a simple shell script you can achieve what you want easily.
--
Antonio

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

3

Wednesday, March 23rd 2005, 10:12pm

You could try using dcop and the openComposer call from KMailIface
Maybe it accepts a comma separated list of addresses for the to, cc, bcc parameters

Cheers,
_
Qt/KDE Developer
Debian User

Posts: 15

Location: Padova, Italy

Occupation: Student

  • Send private message

4

Thursday, March 24th 2005, 10:07am

well, I forgot DCOP.

You can take the list of addresses in your file, pipe them through somethink like xargs, and send kmail a DCOP request for each address.

Hi
--
Antonio

malabarista

Beginner

  • "malabarista" started this thread

Posts: 2

Location: Germany

  • Send private message

5

Saturday, March 26th 2005, 3:33pm

How does this work ?
"send kmail a dcop-request" : can you give me an example please.
i don't know how to handle "dcop-requests"

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

6

Wednesday, March 30th 2005, 2:23pm

You can use the application kdcop while running KMail, to list all the interfaces and all the functions of those interfaces available by DCOP.

You can use this functions in shell scripts through the dcop commandline tool

For example

Source code

1
#> dcop kmail KMailIface checkMail

will trigger a check for new mails

Cheers,
_
Qt/KDE Developer
Debian User