git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13501
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$hdr = new MessageHeader();
$hdr->type0 = 'text';
$hdr->type1 = 'plain';
$hdr = new MessageHeader();
$hdr->type0 = 'text';
$hdr->type1 = 'plain';
- $hdr->encoding = 'us-ascii';
+ $hdr->encoding = '7bit';
} else {
$msg->header->type0 = 'multipart';
$msg->type0 = 'multipart';
} else {
$msg->header->type0 = 'multipart';
$msg->type0 = 'multipart';
/* raw message */
$type0 = 'message';
$type1 = 'rfc822';
/* raw message */
$type0 = 'message';
$type1 = 'rfc822';
- $encoding = 'US-ASCII';
$header = $message->header;
}
$header = $message->header;
}
if ($special_encoding) {
$mime_header->encoding = $special_encoding;
} else {
if ($special_encoding) {
$mime_header->encoding = $special_encoding;
} else {
- $mime_header->encoding = 'us-ascii';
+ $mime_header->encoding = '7bit';
}
if ($default_charset) {
$mime_header->parameters['charset'] = $default_charset;
}
if ($default_charset) {
$mime_header->parameters['charset'] = $default_charset;
$mime_header = new MessageHeader;
$mime_header->type0 = 'message';
$mime_header->type1 = 'disposition-notification';
$mime_header = new MessageHeader;
$mime_header->type0 = 'message';
$mime_header->type1 = 'disposition-notification';
- $mime_header->encoding = 'us-ascii';
+ $mime_header->encoding = '7bit';
$part2->mime_header = $mime_header;
$composeMessage = new Message();
$part2->mime_header = $mime_header;
$composeMessage = new Message();