Hi I am kaushal

Quit Fresh to Drupal Programming all the way from China originally from Nepal.
I have been developing a module for drupal which actually subscribe a newsletter by sending a email to the server, when new user register my drupal site .

Now, I possibly should write my action in hook_user , but didn't actually find an appropriate $op where it should actually go.

Previously I had successfully wrote it in $op=='insert' but what I want is the subscription request should be sent only when user validates their email and activate his account so that the mailing software do not get filled with junk emails. Is their any way that my module interaction when user validates their email or else login for the fist time ?

I am sorry, if anything was not clear enough to understand my problem.
But I do expect someone's eye on my issue.

Thanks in advance
Regards
Kaushal

Comments

kaushal’s picture

Do Anyone can kick me in the right direction ?

Thanks
Kaushal