I'm looking for a way to grab all the filled out fields when a new customer registers and email the information to the admin. This includes some custom fields that are on the registration page.

I'm by no means an expert developer and would love a tutorial if it's even possible to accomplish this. I've yet to be able to find anything specific to what I need.

To elaborate step by step what I need:

User fills out new registration form


After submit, all the data (Name, Email, Address, Custom fields)
will be emailed to the admin email.

Any ideas?


Use Magento Event System to handle it.


<?xml version="1.0" encoding="UTF-8"?>


<?xml version="1.0" encoding="UTF-8"?>



class Your_Module_Model_Observer
    public function customerSaveAfter(Varien_Event_Observer $o)
        //Array of customer data
        $customerData = $o->getCustomer()->getData();

        //email address from System > Configuration > Contacts
        $contactEmail = Mage::getStoreConfig('contacts/email/recipient_email');

        //Mail sending logic here.

        if (!$o->getCustomer()->getOrigData()) {
            //customer is new, otherwise it's an edit 

Hope this would help


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.