I'm creating module to use similiar words to get better search result. I have API which will returns top X similiar words for entered word. What I want to achieve is this workflow:
1. User enter some word into the search form and submit the form
2. My module call the API, gets the similiar words and change the search query
--- That is what I have done. But next part is problem ---
3. After sucesful search, alter the form to show user the similiar words I used to change the query.
On a fresh install using the default mail system I am getting bounce backs as the valid email addresses that contain apostrophes eg tomo'malley@domain.com have their apostrophe removed during any sending email process eg new account or aproval messages.
I have installed mail log module and the Drupal logs show emails are sent with apostrophes and Drupal is storing the emails correctly so to me that points towards the mail system possibly being the problem, has anyone experienced this before and how can it be resolved?