I am using the latest version of domain access along with Drupal commerce. In our site, we want to create the user and assign it to an order automatically via cron. The automatic email send by the system on creating a user will be always from the domain I setup cron.

I want to create a user for the order she created (for an incomplete orders, which will not go though checkout complete process). I set the cronjob for site-a.com. My problem is that the system always send emails - with one time login link from the domain which I set the cronjob ie site-a.com even if the order is generated in the other domain.

Is there any solution for this problem?