i want to send an auto e-mail to the person who submit a new link to the directroy before i validate the link. how can iu do that?
Jun 6, 2006, 6:46 AM
Enthusiast (809 posts)
Jun 6, 2006, 6:46 AM
Post #2 of 6
Views: 3042
Hi,
I think you can create a global can put it into the add_sucess.html template. That will work.
Cheers,
Cheers,
Dat
Programming and creating plugins and templates
Blog
I think you can create a global can put it into the add_sucess.html template. That will work.
Cheers,
Cheers,
Dat
Programming and creating plugins and templates
Blog
Jun 9, 2006, 12:11 AM
Enthusiast (809 posts)
Jun 9, 2006, 12:11 AM
Post #5 of 6
Views: 2984
Hi,
This is a simple one
sub {
my $v = GT::Template->vars;
Links::send_email('link_notyet_validdated.eml',{%$USER,%$v});
}
You have to create the link_notyet_validated.eml template. It can be a copy of template link_added.eml or something like that.
Cheers,
Cheers,
Dat
Programming and creating plugins and templates
Blog
This is a simple one
sub {
my $v = GT::Template->vars;
Links::send_email('link_notyet_validdated.eml',{%$USER,%$v});
}
You have to create the link_notyet_validated.eml template. It can be a copy of template link_added.eml or something like that.
Cheers,
Cheers,
Dat
Programming and creating plugins and templates
Blog