B-219 Sec-55 Noida, India
+918010221733

Get Store Email address in Magento

//General Contact
echo $name = Mage::getStoreConfig('trans_email/ident_general/name'); //sender name
echo $email = Mage::getStoreConfig('trans_email/ident_general/email'); //sender email
//Sales Representative
echo $name = Mage::getStoreConfig('trans_email/ident_sales/name'); //sender name
echo $email = Mage::getStoreConfig('trans_email/ident_sales/email'); //sender email
//Customer Support
echo $name = Mage::getStoreConfig('trans_email/ident_support/name'); //sender name
echo $email = Mage::getStoreConfig('trans_email/ident_support/email'); //sender email
 //Custom Email 1
echo $name = Mage::getStoreConfig('trans_email/ident_custom1/name'); //sender name
echo $email = Mage::getStoreConfig('trans_email/ident_custom1/email'); //sender email
//Custom Email 2
echo $name = Mage::getStoreConfig('trans_email/ident_custom2/name'); //sender name
echo $email = Mage::getStoreConfig('trans_email/ident_custom2/email'); //sender email

(Visited 74 times, 1 visits today)

Leave a reply

You must be logged in to post a comment.