Alex Schroeder
3cbcf70edb
rc2mail now adds some newlines to the HTML mail being sent.
2012-12-21 11:14:09 +01:00
Alex Schroeder
83f795574a
Delay writing of the timestamp.
2012-08-14 09:05:22 -04:00
Alex Schroeder
af14b3ec4b
Use binmode utf8 when sending files.
2012-07-19 10:53:13 +02:00
Alex Schroeder
d4b7a35de9
Fix getopts call.
2011-10-12 16:19:40 +00:00
Alex Schroeder
e7d7d3bafc
Separate verbose into verbose and debug output.
2011-01-28 11:21:16 +00:00
Alex Schroeder
308c586dd6
(send_mail): Introduced new -q flag and print
...
confirmation message unless the quiet flag is used.
2010-08-14 09:06:25 +00:00
Alex Schroeder
9031f11c00
(get_timeframe): Replaced by get_timestamp and
...
update_timestamp.
(get_timestamp): New. Return from=x or days=1.
(update_timestamp): New. Update timestamp or create timestamp file
if necessary.
(get_rss): Call the two new functions.
(send_files): Always print a message when mail has been sent.
2009-12-28 22:20:19 +00:00
Alex Schroeder
e78f62e424
Support Net::SMTP::TLS and Net::SMTP::SSL
2009-10-02 15:36:38 +00:00
Alex Schroeder
e1c2b44127
(get_timeframe): Added error message when open fails.
2009-09-28 20:14:47 +00:00
Alex Schroeder
843c650246
(get_subscribers): Report number of subscribers per site.
2009-09-28 14:37:29 +00:00
Alex Schroeder
e2c6a94555
(get_timeframe): Create path to filename used for -t
...
option if it does not exist. Requires File::Basename and
File::Path.
2009-09-28 14:28:34 +00:00
Alex Schroeder
61ee4e9eba
Introduce -t option.
...
(get_timeframe): New function.
(get_rss): Use it.
2009-09-09 10:41:16 +00:00
Alex Schroeder
132c8f2c29
(main): Skip sending files if there were no subscribers (assuming a
...
lot of wikis without subscribers, eg. when using namespaces).
2009-06-07 18:34:50 +00:00
Alex Schroeder
04c81515ba
*** empty log message ***
2009-06-07 18:26:26 +00:00
Alex Schroeder
58bd54faa6
*** empty log message ***
2009-06-07 18:24:57 +00:00
Alex Schroeder
51e43433c7
(main): Get RSS before getting subscribers. Skip
...
getting subscribers if there were no items in the feed.
2009-06-07 18:21:59 +00:00
Alex Schroeder
6fd05a616b
(get_rss): Use short=0 in the URL.
...
(send_file): Return unless there are subscribers.
2009-06-07 11:40:47 +00:00
Alex Schroeder
98fb507851
(get_rss): Use short=0 in the URL.
2009-06-06 23:25:20 +00:00
Alex Schroeder
81ad16c30d
Add verbose output
2009-06-06 23:14:07 +00:00
Alex Schroeder
e2c047bc7e
(get_subscribers): Add newline for error message.
2009-06-06 16:30:55 +00:00
Alex Schroeder
14acfa4f7d
Added mail sending.
2009-06-06 16:04:39 +00:00
Alex Schroeder
bf624cdab0
Rewrite using structural programming.
2009-06-05 23:34:34 +00:00
Alex Schroeder
ba95207996
The beginning of a new file. It will read the wiki
...
RSS feed and the list of subscribers. Eventually it will then send
out HTML emails to the people subscribed.
2009-06-04 06:43:54 +00:00