I hope I'm on the right site, because it's a crossover between drupal and server configuration...
I am currently using shared hosting for a website and am encountering mail problems while sending mails from the website (drupal CMS). The problem is I only host the website, the mail server is located with another host causing the mails to their own domain to be dropped.
Basically I have example.com and I'm trying to send an email to firstname.lastname@example.org from drupal. To avoid having the mail dropped and to avoid changes on the example.com mailserver side I would prefer to send mails from website2.com which is hosted on the same server.
According to my host I should use the "-f" option of the PHP mail() function to force my website.com e-mailaddress, but I cannot believe this is required since this is not supported by the Drupal core. I cannot be the only one in this scenario, yet I do not find any solution. Can somebody point me in the right direction ?
Shared hosting with two domains: example.com and website2.com
External mailserver, dns is managed by other host.