I have a strange issue with my setup. I am using sendmail to send out emails using gmail credentials. while emails go out fine but the links in the email( e.g. activation link, password reset etc.) are of incorrect subdomain then my website. I can’t seem to figure out what conf settings will fix it.
e.g.
My website is xxx.example.com
The links in email point to zzz.example.com.
Once I fix the url in the browser the links work fine.
Anyone has idea how to fix this?