Get Store Email address

0
39
views
Advertisement

Gerneral contact
Mage::getStoreConfig(‘trans_email/ident_gerneral/name’);
Mage::getStoreConfig(‘trans_email/ident_gerneral/email’);

Sales Representative
Mage::getStoreConfig(‘trans_email/ident_sales/name’);
Mage::getStoreConfig(‘trans_email/ident_sales/email’);

Customer Support
Mage::getStoreConfig(‘trans_email/ident_support/name’);
Mage::getStoreConfig(‘trans_email/ident_support/email’);

Custom email1
Mage::getStoreConfig(‘trans_email/ident_custom1/name’);
Mage::getStoreConfig(‘trans_email/ident_custom1/email’);

Custom email2
Mage::getStoreConfig(‘trans_email/ident_custom2/name’);
Mage::getStoreConfig(‘trans_email/ident_custom2/email’);

— Mayank Zalavadia