I used below code to send mail to customer
$templateOptions = array(
'area' => Area::AREA_FRONTEND,
'store' => \Magento\Store\Model\Store::DEFAULT_STORE_ID
);
$from = array('email' => $seller_email, 'name' => $post['name']);
$this->inlineTranslation->suspend();
$to = array($goshop_email);
$transport = $this->_transportBuilder->setTemplateIdentifier($template_id)
->setTemplateOptions($templateOptions)
->setTemplateVars($templateVars)
->setFrom($from)
->addTo($to)
->getTransport();
$transport->sendMessage();
$this->inlineTranslation->resume();
for
'store' => \Magento\Store\Model\Store::DEFAULT_STORE_ID
use
'store' => $this->storeManager->getStore()->getId()
Where
$this->storeManager is alise of Magento\Store\Model\StoreManagerInterface