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 9274 May 16, 2002, 11:54 AM
Thread Re: [hoefti] Email after modify a record
jean 9147 May 24, 2002, 12:03 PM
Thread Re: [jean] Email after modify a record
hoefti 9036 May 30, 2002, 6:01 AM
Thread Re: [hoefti] Email after modify a record
hoefti 8612 May 30, 2003, 3:30 AM
Thread variables in Email after modify a record
timbo 8485 Sep 19, 2003, 12:33 AM
Thread Re: [timbo] variables in Email after modify a record
timbo 8376 Sep 20, 2003, 1:15 AM
Thread Re: [timbo] variables in Email after modify a record
jxh 8396 Oct 8, 2003, 3:21 PM
Thread Re: [jxh] variables in Email after modify a record
timbo 8290 Nov 15, 2003, 4:59 AM
Thread Re: [timbo] variables in Email after modify a record
timbo 8291 Nov 18, 2003, 6:42 AM
Thread Re: [timbo] variables in Email after modify a record
timbo 8210 Nov 28, 2003, 2:31 AM
Thread Re: [timbo] variables in Email after modify a record
604 8227 Nov 28, 2003, 10:41 AM
Post Re: [TheStone] variables in Email after modify a record
timbo 8248 Nov 29, 2003, 12:47 AM
Post Re: [hoefti] Email after modify a record
billgrveles 7598 Oct 5, 2006, 8:42 AM