Email Error: Data not accepted.
I have tried dozebs of search terms, read countless postings in dozens of forums (some several times), and dug through so many php files I have "<?" signs spinning around my head. But I can't find the reason nor solution to the fact that all of a sudden the site I'm working on can't send emails.
What's worse - I know the answer is going to be something really dumb!
Anyway, until a couple weeks ago, all emails were sending out just fine. Then I uploaded the site to our new host's server and, since the client's domain had not yet transferred over, I figured email coming from sales@hisdomain wouldn't work, so turned it off in Admin.
I then added several modules (Super Orders 2.0, Admin profiles, Sales Reports and Export Shipping Info) to the site, made a bunch of override changes, upgraded from 1.3.7 to 1.3.7.1, had host install SSL certificate, and turned SSL on in the 2 configure files, and basically got the site ready to go "live". Until I turned send emails back on in Admin, that is!
First I got "Email Error: Data not accepted." from the checkout-confirmation. I noticed in Super Orders that the [mailto] link in the order details page was blank - that is, no email address - and figured this was the problem. Also saw that in Super Orders "edit contact info" window that there was no customer info, just billing name, address, etc. Went to phpMyAdmin and looked at orders and, sure enough, all the fields starting with "customers_" were blank. I spent most of the day checking file by file for differences in mod files, my overrides, 1.3.7 vs. 1.3.7.1, and if all SQL patches had worked properly. Then I uninstalled the "Add'l Customers Fields" mod - which has been a very annoying source of problems and complete waste of time from day one - and thought maybe all was now OK.
So I entered more orders, but still got "Email Error: Data not accepted." I did notice that the orders file now showed data in the customers_ fields, so I guess that problem was fixed but also not the cause of the email problem. Then I created a new customer account - and got the error again in the new account confirmation email!
OK, I said, it's got to be an email config issue and I can fix this - I tried every email transport method available with every conceivable Admin email setting for each - nope. I then downloaded all the files from the server, set them back up on localhost, and configured email to work like it always had so well before - nothing.
What I also don't get is that the email archive says the account creation confirmation email was indeed sent, although the order confirmation emails were not.
I'm stumped - no clue what to do next. And the really frustrating thing is that this is the only thing keeping the site from going "live". Grrr!
Is there anybody who might be able to shed some light on this? I would really appreciate it.
RAB
Why is it I'm always surprised when something actually works?