Send Promo Code to New Registered Customer in Magento

Hello Guys, Recently I have performed a task for sending a promo code to new registered customers only, So that they can use/redeem this code in their next purchase. Follow Below Steps to achieve this, I am assuming you are aware with the custom module development in magento Step 1: Add below code into your etc/config.xml under global node <models> <!-- Defines your Model --> <your_module> <class>Your_Module_Model</class> </your_module> </models> <template> <email> <notify_new_customer1> ...