| ActionMarket |
Logga in! |
| Hörnan | HörnansStartsida | StoraHörnan | SenasteNytt |
OffersThis is a marketplace for your actions. Please state your name, your email, and the release your macro is developed for (if you used a CVS snapshot, also state the revision number).Use a special pagename ["action/YourAction.py"] and start your macro with the line #format pythonThis way, the action can directly be put on the page without any modification, and as easily copied from that page. See the examples below.
These actions only become available when Jürgen places them on his system. They should appear at the bottom of each page. RequestsIf you are not familiar with Python and/or the MoinMoin code base, but have a need or an idea for an action, this is the place to ask for it. Someone might find it useful, too, and implement it.How about changing action/mailchanges.py so that it uses the python smtplib rather than the system mail program? A snippet to do the mailing is as follows: import smtplib msg = """From: user@anywhere.com To: you@someplaceelse.com This is a test of the python broadcasting system. This is only a test. """ fromaddr = 'me@anywhere.com' toaddr = 'you@someplaceelse.com' server = 'smtp.anywhere.com' server = smtplib.SMTP(server) server.set_debuglevel(1) server.sendmail(fromaddr, toaddr, msg) server.quit() This is just a quick example but I think it would be easy to put in. -- BruceDurling | |||||||||||||||||||||||||||||||||||