Cannot set Return-Path in PHP's Mail Function

Avatar
  • Answered
Can you confirm that because I am on a shared server, using PHP's Mail function, the "Return-Path" I specify in my script is going to be over-ridden and set to my-cpanel-username at ecbizXXX.inmotionhosting.com because the address I specify is not in EXIM's trusted users configuration and that cannot be done on a shared server?

Thanks
Rick
Avatar
anonymous
Hello,

If you specify a return address within the php mail script the it should go to that address and not you cpanel account.

Best Regards,
TJ Edens