Parent Directory | Revision Log
attempt at validating queued mail messages, sending with unique hash, documentation for inbox option (but not implementation), renamed add_message_to_queue to add_message_to_list
1 | dpavlin | 20 | #!/usr/bin/perl -w |
2 | |||
3 | use strict; | ||
4 | use blib; | ||
5 | |||
6 | dpavlin | 29 | use Test::More tests => 4; |
7 | dpavlin | 24 | BEGIN { use_ok('Nos') }; |
8 | dpavlin | 20 | |
9 | dpavlin | 24 | ok(my $nos = new Nos('dsn' => 'dbi:Pg:dbname=notices'), "new"); |
10 | dpavlin | 25 | |
11 | ok($nos->add_member_to_list( list => 'My list', email => 'foo@example.com' ), "add_member_to_list"); | ||
12 | dpavlin | 29 | |
13 | ok($nos->add_message_to_list( list => 'My list', message => 'Subject: test\nJust a test' ), "add_message_to_list"); |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |