I want replacement of the following in magento 2
/* Name */
Mage::getStoreConfig('trans_email/ident_sales/name');
/* Email */
Mage::getStoreConfig('trans_email/ident_sales/email');
or similar to getting current store admin name and email.
Thanks.
Best Answer
Try the below code -
}