- Timestamp:
- 03/29/09 22:40:46 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Vote/Model/Vote.pm
r136 r139 446 446 $info->{ballotid} or return; 447 447 my $mailer = new Mail::Mailer 'smtp', Server => (Vote->config->{smtp} || 'localhost'); 448 $ENV{MAILADDRESS} = $vid; 448 449 $mailer->open({ 449 450 From => $vid, # TODO allow to configure this … … 840 841 # TODO complete this properly: 841 842 my $mailer = new Mail::Mailer 'smtp', Server => (Vote->config->{smtp} || 'localhost'); 843 $ENV{MAILADDRESS} = $voteinfo->{owner}; 842 844 $mailer->open({ 843 845 From => $voteinfo->{owner}, … … 930 932 $addreq->execute($reqid, $info{label}, $info{mail}); 931 933 my $mailer = new Mail::Mailer 'smtp', Server => (Vote->config->{smtp} || 'localhost'); 934 $ENV{MAILADDRESS} = 'Voting system <nomail@nomail.com>'; 932 935 $mailer->open({ 933 936 From => 'Voting system <nomail@nomail.com>', # TODO allow to configure this
Note: See TracChangeset
for help on using the changeset viewer.