Senph::Model::MailQueue
sub create_notify_new_comment { my ( $self, $args ) = @_; my $comment = $args->{comment}; $self->create( { template => 'owner_new_comment.tx', to => 'domm@plix.at', subject => sprintf( 'New comment on %s', $args->{topic}->url ), data => { comment => { user_name => $comment->user_name, user_email => $comment->user_email, body => $comment->body, }, } } ); }