ClickCease

Fill the form & Get Installation Support





    While doing programming in Magento 1.9 version, you might deal with the problem that you won’t able to send customer’s passwords to them inside the mail.

    Yes, that’s a needed functionality for many clients. But, it’s not smooth go in Magento 1.9 version.

    You need to adopt below technical solution.

    To send password in an email, you need to,

    Open the core file or extend as you like AccountController.php,
    Find the function createPostAction() or find

    and make a comment before starting of that line as shown in below.

    you can make the same change on other places as on line 809, 954

    After doing this activity, I’m pretty sure it will able to send the password inside the mail.

    Well, there is another method which can be adopted here.

    All you need to do it, just open or extend the custom model file

    magento\app\code\core\Mage\Customer\Model\Customer.php
    find the function

    Then, make it comment by adding

    // $this->setData(‘password’, null);

    Well,  after the above step, you are done. Hope your problem will get resolved. If not, let us know via comment, we’ll guide you further.

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Author Image

      Hire A. Patel

      Get a Free Quote





        Close

        mage Monkeys

        Let’s initiate a discussion!!

        Book a call

        Let our Magento expert connect to discuss your requirement.


          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.