I opened a help desk ticket on this one, but they said that they could not help me and I should ask on the forums. So, here I am.
First off, all of the accounts mentioned here are hosted at TCH.
I have a site at domainA.com. On this site, I have been using LevelTen Formmail to process an online form and send the results to an email address. For our purposes, let's call that email address joe@domainA.com. Everything worked fine for months until...
Someone who legitimately has accesss to the server and control panel decided that it would be good to have the results of the form cc'ed to another email address at the domain. It is simple enough to do as my before and after examples will illustrate:
Before (worked)
>$formAction['default'] = array(
'recipient' => 'joe@domainA.com',
'recipient_cc' => '',
'recipient_bcc' => '',
'subject' => 'Quote Request',
'redirect' => 'http://domainA.com/thankyou.html',
'email' => 'email',
'realname' => '',
'required' => '',
'format' => 'html',
'sesrep_max_items' => '200',
);
After (screwed things up)
>$formAction['default'] = array(
'recipient' => 'joe@domainA.com',
'recipient_cc' => 'harry@domainA.com',
'recipient_bcc' => '',
'subject' => 'Quote Request',
'redirect' => 'http://domainA.com/thankyou.html',
'email' => 'email',
'realname' => '',
'required' => '',
'format' => 'html',
'sesrep_max_items' => '200',
);
Now, it seems that by having the script attempt to deliver to two email addresses from the host domain it has disabled all mail from the form going to accounts at domainA.com. I put the script back to its original form and now nothing will be sent to domainA.com. However, it will send mail to accounts that are not on domainA.com. To illustrate, this is how the script is currently setup and it is working fine but it is a bit of a kludge.
Current (works)
>$formAction['default'] = array(
'recipient' => 'paul@domainB.com',
'recipient_cc' => '',
'recipient_bcc' => '',
'subject' => 'Quote Request',
'redirect' => 'http://domainA.com/thankyou.html',
'email' => 'email',
'realname' => '',
'required' => '',
'format' => 'html',
'sesrep_max_items' => '200',
);
So, to sum up, the script works fine sending to addresses anywhere but on the host domain. The host domain is in the valid referres list, so that is not the problem.
Is it possible that the mail service on the server is somehow not allowing the delivery of items to the host domain?
Thanks