Strange characters in UTF-8 email and multiple copies sent
| Project: | Mass Contact |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
I'm on Drupal 6.4 and I've been testing this mod and it looks wonderful, easy to use, easy to set up and perfect in every way but 2:
1. quotes and apostrophes are coming through as code. this is what they look like in the email:
" '
the email header says:
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8Bit
X-Mailer: Drupal
is there a setting somewhere I can change to get this output the characters correctly?
2. not sure how to avoid multiple emails...
one user reports she's receiving 2 copies of each email, and the sender email is receiving one copy for each person in the role. I have it set up to BCC.
after submitting the form, I get this message:
* [Success] Send Once: (emails deleted)
* Message sent successfully to 4 users: (emails deleted)
it looks like it's sending twice to everyone. any idea what's going on?

#1
ok, that didn't work out quite right because the entities look like what they're supposed to here, not what's showing up in the email regardless of whether I'm using html or not. I forgot to enclose in code tags, sorry!
#2
Still haven't figured this out... any ideas for me to try?
When users receive their emails, "don't" looks like "don & # 039 ; t" but without the spaces, which I had to add so it wouldn't display as an apostrophe.
#3
Note: the second issue in my original post is no longer occurring, as far as I can tell. I would edit it out if I could, since I'm going to do more testing and will post it as a bug if I can duplicate it.
#4
I am also getting the escaped html characters issue. It looks like the body input is being filtered. What controls the filtering on the body?
#5
I have tried every which way to make this work and this is the ONLY thing that works:
set your default input format to "messaging plain text"
set the mass contact module to send html emails by default.
now when you send mass contact emails, you get real quotes and apostrophes.
now hopefully when I set up that input filter to accept tags so my users can blog, everything will work as it should.
#6
so far so good, but now the line breaks have been removed from the "Text to be appended to all messages" so it all flows on one line.
#7
Sorry to be so slow in responding to this issue. In my testing, I'm not seeing anything like this behavior. What filters do you have installed, and what Input formats have you created? Maybe some combination of them is causing the problem.
#8
interestingly enough, br tags work in the appended text so there's a workaround for the missing line breaks.
#9
hi, thanks for the reply.
I had full html and filtered html and messaging plain text. filtered html was my default. I didn't create any filters, but I think messaging plain text was installed at some point when I trying to find a workaround to this problem.
I switched the default to messaging plain text and that seems to have taken care of the issue, and I just tested image assist and it is still working even without the ability to add any tags to the messaging plain text filter, so I feel like I have a workaround that will minimize user issues.
I do think that this module shouldn't use the default input filter, that it would be better to be able to choose the filter it works with.
#10
Okay, I see why mine works and your doesn't. I've already fixed it on my development PC so that the sender can choose the input format to use when sending. I was waiting for some changes in another module to be completed so I could test what I did in this one. I still have some testing and bug fixes to finish up, but then I'll upload the changes so everyone can benefit from them.
#11
cool, thanks!
btw, now that it's working, I love this mod. can't wait for the changes!
#12
If possible, please post a patch for this issue or even just give me some quick directions to do it myself.
#13
It will take less time for me to just submit the changes than to try to create a patch or explain what needs to be done. I actually made the changes two months ago, along with several other changes, but I wasn't able to test them back then. I should have some time later on this week to finalize all I have in my queue.
#14
I have been having the same problem, so will be VERY grateful to have the new version when you can post it. It is a fabulous module which provides essential functionality. Thanks for all your work on it!
#15
I've included the code for what I think will fix or at least allow for working around these problems. Please try the 6.x-1.0-beta2 release and let me know if that fixes this problem.
#16
Thank you! It works well for me now. Am using on live site, www.iofc.org.
#17
I'm marking this as fixed as I got a positive reply. If anyone else is still have problems, please re-open the issue.
#18
Automatically closed -- issue fixed for 2 weeks with no activity.