When I try to send a newsletter with the title containing non-english characters (źćółś ect.) I get the following error:

  • plain: Bad parameters to mail() function, mail not sent. in file /includes/common.inc, line 1996.
  • html: Bad parameters to mail() function, mail not sent. in file /modules/mimemail/mimemail.module, line 333.

removing non-english chars from the title solves the problem -- hint from http://drupal.org/node/196792#comment-939743

Comments

sutharsan’s picture

Status: Active » Postponed (maintainer needs more info)

is this only with HTML email or also plain text?

Rafał Ch’s picture

both :-)

sending plain text I get: "Bad parameters to mail() function, mail not sent. in file /includes/common.inc, line 1996."
sending html I get: "Bad parameters to mail() function, mail not sent. in file /modules/mimemail/mimemail.module, line 333."

Drupal 5.12
Mime Mail 5.x-1.x-dev (2008-09-21)

Rafał Ch’s picture

Status: Postponed (maintainer needs more info) » Active
sutharsan’s picture

Status: Active » Postponed (maintainer needs more info)

When I send an email with these character in the title I get the below subject with both plain and html emails. All using latest (dev) releases.

[Drupal newsletter] źćółś

This looks like an installation specific problem.

Rafał Ch’s picture

Status: Postponed (maintainer needs more info) » Active

The same problem with dev version. It has to be installation-specific since my other installations work ok.
But in the problem installation the sitewide contact form works with subject non-english so isn't it something with simplenews?

sutharsan’s picture

I don't know.

sutharsan’s picture

Status: Active » Closed (fixed)

No activity, closing the issue.

yanchen’s picture

This is the persistent problem with Chinese character in 6.19 and 7.0. Even if I change the subject line, the problem is still there. If I change entire mail to English, the problem is gone.