The code for handling cc and bcc in smtp.mail.inc uses the PHP split() function which is deprecated preventing it from working in Drupal 7. It should use preg_find() instead.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1112828-fixed-deprecated-split-function-0.patch | 881 bytes | MakubeX |
Comments
Comment #1
MakubeX commentedPatch uploaded. This is my first one, I hope I did it right.
PS. In the issue description above I meant to say it should be preg_split(), not preg_find()... it's late, sorry.
Comment #2
seattlehimay commentedI wanted to make sure this was logged, and found your report. FIx worked for me.
Comment #3
Vlad Vinnikov commentedexplode can be used to fix this problem http://stackoverflow.com/questions/7259974/how-to-cc-on-drupal-mail
Comment #4
josesanmartin commentedI believe explode() should have a better performance.
Comment #5
josesanmartin commentedThis has been fixed on 7.x branch, moving the ticket to 6.x branch.
Comment #6
josesanmartin commentedComment #7
josesanmartin commentedFixed for D6 as well.