View Issue Details

IDProjectCategoryView StatusLast Update
0002569phplist applicationConfigurationpublic18-02-05 10:38
ReporterDamienMcKenna 
PriorityimmediateSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.9.3 
Target VersionFixed in Version2.9.4 
Summary0002569: Change all email routines to use configured encoding type
DescriptionChange all email code to use the configured encoding type rather than hard-coding it.
http://www.phplist.com/forums/viewtopic.php?t=2225
TagsNo tags attached.

Relationships

related to 0002275 closed HTML Emails sending incorrectly 
child of 0002456 resolvedmichiel PHPList v2.9.4 release 

Activities

DamienMcKenna

11-02-05 04:13

manager   ~0003473

Last edited: 13-02-05 03:54

Change config/config.php, lines 348 onwards, to say:

# you can specify the encoding for HTML and plaintext messages here. This only
# works if you do not use the phpmailer (see below)
# the default should be fine. Valid options are 7bit, quoted-printable and base64
define("HTMLEMAIL_ENCODING","quoted-printable");
define("TEXTEMAIL_ENCODING","quoted-printable");


Change admin/sendemaillib.php, lines 443 onwards, to say:

  $mail->build_message(
    array(
      "html_charset" => $cached[$messageid]["html_charset"],
      "html_encoding" => HTMLEMAIL_ENCODING,
      "text_charset" => $cached[$messageid]["text_charset"],
      "text_encoding" => TEXTEMAIL_ENCODING)
    );


Change admin/class.html.mime.mail.inc and class.html.mime.mail-outlookfix.inc, lines 81 onwards, to say:

    $this->build_params['html_encoding'] = 'quoted-printable';
    $this->build_params['text_encoding'] = 'quoted-printable';


Should fix that problem.

Damien

DamienMcKenna

11-02-05 04:15

manager   ~0003474

Waiting to be added to CVS.

michiel

18-02-05 00:38

manager   ~0003553

it's better not to mark this resolved if it hasn't been put in CVS yet, otherwise I would miss it. Just mark it as assigned to me.

michiel

18-02-05 02:22

manager   ~0003559

now added to CVS