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
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