- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2020
04:50 AM
07-02-2020
04:50 AM
Resolved this error by this piece of code :
$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $scopeConfig = $objectManager->create('\Magento\Framework\App\Config\ScopeConfigInterface'); $email = $scopeConfig->getValue('trans_email/ident_support/email',\Magento\Store\Model\ScopeInterface::SCOPE_STORE);
Problem Solved ? Click on 'Kudos' & Accept as Solution !

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2020
05:17 AM
07-02-2020
05:17 AM
Re: Get Store email addresses programmatically
Thank you brother it worked for me.
- « Previous
- Next »