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 10842 May 16, 2002, 11:54 AM
Thread Re: [hoefti] Email after modify a record
jean 10697 May 24, 2002, 12:03 PM
Thread Re: [jean] Email after modify a record
hoefti 10586 May 30, 2002, 6:01 AM
Thread Re: [hoefti] Email after modify a record
hoefti 10164 May 30, 2003, 3:30 AM
Thread variables in Email after modify a record
timbo 10034 Sep 19, 2003, 12:33 AM
Thread Re: [timbo] variables in Email after modify a record
timbo 9926 Sep 20, 2003, 1:15 AM
Thread Re: [timbo] variables in Email after modify a record
jxh 9945 Oct 8, 2003, 3:21 PM
Thread Re: [jxh] variables in Email after modify a record
timbo 9838 Nov 15, 2003, 4:59 AM
Thread Re: [timbo] variables in Email after modify a record
timbo 9840 Nov 18, 2003, 6:42 AM
Thread Re: [timbo] variables in Email after modify a record
timbo 9759 Nov 28, 2003, 2:31 AM
Thread Re: [timbo] variables in Email after modify a record
604 9777 Nov 28, 2003, 10:41 AM
Post Re: [TheStone] variables in Email after modify a record
timbo 9797 Nov 29, 2003, 12:47 AM
Post Re: [hoefti] Email after modify a record
billgrveles 9145 Oct 5, 2006, 8:42 AM