Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: /msg OperServ sendmail <target> <text>  (Read 2727 times)

0 Members and 1 Guest are viewing this topic.

deiks

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 139
  • Shizle my nizle
/msg OperServ sendmail <target> <text>
« on: May 16, 2008, 02:39:39 PM »

Hi

[15:04:34] <[dx]> is there some module for sending mass msg to all registered users on theirs mails
[15:04:46] <Jobe-Work> nope
[15:04:46] <Jobe-Work> :P
[15:04:52] <[dx]> :P
[15:05:28] <[dx]> hope u understood what am i looking for :p
[15:05:42] <Jobe-Work> yeah, a mailing list
[15:06:01] <Jobe-Work> unless you meant memo not mail
[15:06:01] <Jobe-Work> :P
[15:06:31] <[dx]> mail :P something like /ns sendemail text
[15:06:42] <[dx]> and goes to all registered nicks at mail
[15:06:43] <[dx]> :D
[15:07:51] <Jobe-Work> [dx]: that should probably be an OperServ command
[15:08:00] <Jobe-Work> but still
[15:08:12] <Jobe-Work> would be interesting to do like /os sendmail <target> <message>
[15:08:39] <[dx]> nevermind which service :D it can be MailServ :D
[15:08:43] <Jobe-Work> where target can be say root, admin, oper, user, all, founders for example
[15:08:44] <Jobe-Work> :P
[15:08:54] <[dx]> uuuuuuu
[15:08:56] <[dx]> great idea
[15:09:01] <Jobe-Work> where founders sends ONLY to users who are listed as the founder for a channel
[15:09:12] <Jobe-Work> user is all non root/admin/oper users
[15:09:15] <Jobe-Work> and all is everyone
[15:09:34] <[dx]> nice
[15:09:34] <[dx]> :D
[15:09:49] <Jobe-Work> and seeing as channels can have email addresses too you could add channels as a target
[15:09:52] <[dx]> and all that goes on e-mails given at registration :p

Hmmm.. and your opinion..

Will this be useful?
Can someone code this?

Regards

network

[Izmenjeno 16-5-2008  network]
Logged

katsklaw

  • Guest
Re: /msg OperServ sendmail <target> <text>
« Reply #1 on: August 16, 2008, 01:00:14 PM »

Actually this is a rather bad idea for Anope to do. Anope is single threaded, which means it can only do 1 thing at a time. So if you have even a few dozen registered users, you can lag Anope to hell because it can't do anything else until it's done sending mail (something Anope shouldn't even be doing).

It's best to dump data to sql and have a perl application do this and read the email addresses from the sql db, or do what everyone else does and create a mailing list (which is a far better solution).
Logged
Pages: [1]   Go Up