Author Topic: Missing subject when sending  (Read 2469 times)

Offline Andro_

  • Newbie
  • *
  • Posts: 3
Missing subject when sending
« on: June 12, 2017, 04:57:49 PM »
Hi,

I upgraded my roundcube installation from 0.8.x to 1.2.5. Everything works, but I have a problem when sending emails - the subject line is missing on the receivers part. And I think it might be just on exchange servers - I tried sending to 2 different exchange servers and to my icloud.com account. The email in icloud displays the subject while both exchanges display the mail as if it was sent without a subject. When looking at sent emails in roundcube I see subjects correctly.
Any ideas what could be wrong here?

Offline Andro_

  • Newbie
  • *
  • Posts: 3
Re: Missing subject when sending
« Reply #1 on: June 13, 2017, 07:43:48 AM »
I logged the $MAIL_MIME variable in the sendmail.inc file before the // Begin SMTP Delivery Block if someone can see anything wrong here maybe (I changed the sender/receiver data):

Code: [Select]
Mail_mime::__set_state(array(
   '_txtbody' => 'testing',
   '_htmlbody' => NULL,
   '_html_images' =>
  array (
  ),
   '_parts' =>
  array (
  ),
   '_headers' =>
  array (
    'MIME-Version' => '1.0',
    'Content-Type' => 'text/plain; charset=US-ASCII;
 format=flowed',
    'Content-Transfer-Encoding' => '7bit',
    'Date' => 'Tue, 13 Jun 2017 13:37:07 +0200',
    'From' => 'sender@domain.com',
    'To' => 'email@example.com',
    'Subject' => 'test',
    'Message-ID' => '<7f16f602217ceb410627eb9628d4389c@pegasus-yachts.com>',
    'X-Sender' => 'sender@domain.com',
    'User-Agent' => 'Roundcube Webmail/1.2.5',
  ),
   '_build_params' =>
  array (
    'head_encoding' => 'quoted-printable',
    'text_encoding' => '7bit',
    'html_encoding' => 'quoted-printable',
    'html_charset' => 'UTF-8',
    'text_charset' => 'US-ASCII;
 format=flowed',
    'head_charset' => 'UTF-8',
    'eol' => '
',
    'delay_file_io' => false,
  ),
))
« Last Edit: June 13, 2017, 08:02:23 AM by Andro_ »

Offline Andro_

  • Newbie
  • *
  • Posts: 3
Re: Missing subject when sending
« Reply #2 on: June 13, 2017, 08:37:35 AM »
Also tried logging in rcube.php and didn't find anything out of the ordinary.
Solved it by setting  that roundcube uses SMTP to send emails.