Issue with mail server

Discussion in 'Programming' started by yulia, Mar 3, 2007.

  1. #1
    Basically ive set up 2 websites on a server, both with different domains.

    On the addon domain, ive se up a community portal (PHPFox) which should send regular emails when some actions are done. The problem is, the mail server the portal is using is mail.domain2.com but because its a addon domain, this isn't working as it should, and it should use mail.domain1.com.

    Any way i can fix this? Is there a PHP method I should use?
    I was thinking of using a .htaccess file to change the mail server thing, when that is requested. Would this work? And how can i do that?
     
    yulia, Mar 3, 2007 IP