I have domain at providerA and hosting with domain at providerB.
I configured DNS that domainA would redirect to hostingB. With .htaccess setup so now entering either domainA or domainB it shows website hosted at providerB and url shows as domainA in browser.
But now my mail that is sent to emails with domainA also redirects to email accounts with domainB.
What should I do, so email sent to lets say user@domainA.com would get it and not user@domainB.com?