Changeset 142 for trunk


Ignore:
Timestamp:
03/30/09 11:06:52 (15 years ago)
Author:
nanardon
Message:
  • let the system choose the From for admin mail
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Vote/Model/Vote.pm

    r141 r142  
    933933    $addreq->execute($reqid, $info{label}, $info{mail}); 
    934934    my $mailer = new Mail::Mailer 'smtp', Server => (Vote->config->{smtp} || 'localhost'); 
    935     $ENV{MAILADDRESS} = 'Voting system <nomail@nomail.com>'; 
     935    $ENV{MAILADDRESS} = undef; 
    936936    $mailer->open({ 
    937937        From => 'Voting system <nomail@nomail.com>', # TODO allow to configure this 
Note: See TracChangeset for help on using the changeset viewer.