Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Email after modify a record

Quote Reply
Email after modify a record
Hello and thanks to TheStone

Email after add record works

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

but it dosent work by modify a record.

Who can help

Thanks hoefti
linktobuy Web Directory
Ratgeber Recht
Subject Author Views Date
Thread Email after modify a record hoefti 10978 May 16, 2002, 11:54 AM
Thread Re: [hoefti] Email after modify a record
jean 10831 May 24, 2002, 12:03 PM
Thread Re: [jean] Email after modify a record
hoefti 10720 May 30, 2002, 6:01 AM
Thread Re: [hoefti] Email after modify a record
hoefti 10297 May 30, 2003, 3:30 AM
Thread variables in Email after modify a record
timbo 10168 Sep 19, 2003, 12:33 AM
Thread Re: [timbo] variables in Email after modify a record
timbo 10059 Sep 20, 2003, 1:15 AM
Thread Re: [timbo] variables in Email after modify a record
jxh 10080 Oct 8, 2003, 3:21 PM
Thread Re: [jxh] variables in Email after modify a record
timbo 9973 Nov 15, 2003, 4:59 AM
Thread Re: [timbo] variables in Email after modify a record
timbo 9974 Nov 18, 2003, 6:42 AM
Thread Re: [timbo] variables in Email after modify a record
timbo 9893 Nov 28, 2003, 2:31 AM
Thread Re: [timbo] variables in Email after modify a record
604 9911 Nov 28, 2003, 10:41 AM
Post Re: [TheStone] variables in Email after modify a record
timbo 9931 Nov 29, 2003, 12:47 AM
Post Re: [hoefti] Email after modify a record
billgrveles 9278 Oct 5, 2006, 8:42 AM