Gossamer Forum
Home : Products : Gossamer Links : Discussions :

auto e-mail when someone submit a new link

Quote Reply
auto e-mail when someone submit a new link
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?

Last edited by:

theguy: Jun 6, 2006, 4:31 AM
Quote Reply
Re: [theguy] auto e-mail when someone submit a new link In reply to
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
Quote Reply
Re: [tandat] auto e-mail when someone submit a new link In reply to
could you please explain more in details?
Quote Reply
Re: [theguy] auto e-mail when someone submit a new link In reply to
Hi,

Go to plugins download in your admin, there is a free plugin by Andy that will do what you want.
Quote Reply
Re: [theguy] auto e-mail when someone submit a new link In reply to
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
Quote Reply
Re: [rascal] auto e-mail when someone submit a new link In reply to
i installed the plugin properly but no email is sent

what could be wrong?