Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Email after modify

Quote Reply
Email after modify
Hello

My sub=
Code:
sub {
my $tags = shift;
my $home = $tags->{home};
my $hsh = $home->{hsh} || $tags->{values};
use GT::Mail;
my $msg = "Date $hsh->{date} ";
GT::Mail->send (
sendmail => $home->{glb_cfg}->{db_mail_path},
to => $home->{user}->{Email},
from => 'my@domain.de',
subject => 'Reply',
'Content-type' => 'text/html',
msg => $msg
) or die "Error: $GT::Mail::error";
}

how to add the values from Record to email
$hsh->{date} are in the email empty

hoefti
linktobuy Web Directory
Ratgeber Recht
Subject Author Views Date
Thread Email after modify hoefti 4252 May 30, 2003, 1:01 AM
Thread Re: [hoefti] Email after modify
jean 4134 May 30, 2003, 11:36 AM
Thread Re: [jean] Email after modify
hoefti 4115 Jun 1, 2003, 3:49 AM
Thread Re: [hoefti] Email after modify
hoefti 4126 Jun 4, 2003, 8:44 AM
Post Re: [hoefti] Email after modify
hoefti 4084 Jun 5, 2003, 7:59 PM