I'm a missionary in Japan. The name of my mission agency is WEC International. That's supposedly Worldwide Evangelisation for Christ, but I think I have a better idea about what it stands for...
2004-10-15
Prayer letter
Oh yeah, prayer
letter. Since it's been all spiritual and no Perl recently, I should
say that that was produced with a modified version of the script I wrote
about in The Perl Journal last year, and I used
MIME::Lite::HTML to create a mixed HTML and plain-text
email from the two Template Toolkit formats. Now since you can't do this
directly from MIME::Lite::HTML, here's the trick:
my $x = MIME::Lite::HTML->new(
From => 'simon@simon-cozens.org',
To => 'prayerletter@lists.netthink.co.uk',
Subject => $vars->{title},
) ;
use File::Slurp;
$x->build_mime_object(scalar read_file($output), scalar read_file("email.txt"), []);
MIME::Lite->send('smtp', "localhost");
print "Sending to list\n";
$x->{_MAIL}->send;
| « | 2004-10 | » | ||||
|---|---|---|---|---|---|---|
| S | M | T | W | T | F | S |
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 | ||||||
lathos: Going from iPod 1.x to 2.x and severely regretting it.





