| | |
| | | $mailcc = rcmail_email_input_format(rcube_utils::get_input_value('_cc', rcube_utils::INPUT_POST, TRUE, $message_charset), true); |
| | | $mailbcc = rcmail_email_input_format(rcube_utils::get_input_value('_bcc', rcube_utils::INPUT_POST, TRUE, $message_charset), true); |
| | | |
| | | if ($EMAIL_FORMAT_ERROR) { |
| | | if ($EMAIL_FORMAT_ERROR && !$savedraft) { |
| | | $OUTPUT->show_message('emailformaterror', 'error', array('email' => $EMAIL_FORMAT_ERROR)); |
| | | $OUTPUT->send('iframe'); |
| | | } |
| | |
| | | $transfer_encoding = $RCMAIL->config->get('force_7bit') ? 'quoted-printable' : '8bit'; |
| | | } |
| | | else { |
| | | $text_charset = ''; |
| | | $text_charset = 'US-ASCII'; |
| | | $transfer_encoding = '7bit'; |
| | | } |
| | | |
| | | if ($flowed) { |
| | | if (!$text_charset) { |
| | | $text_charset = 'US-ASCII'; |
| | | } |
| | | |
| | | $text_charset .= ";\r\n format=flowed"; |
| | | } |
| | | |