6.0.0-beta1
8/12/25

[#13784] Missing From and Date of sent mail in header (HTC One mini2)
Summary Missing From and Date of sent mail in header (HTC One mini2)
Queue Synchronization
Queue Version FRAMEWORK_5_2
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester samuel.wolf (at) wolf-maschinenbau (dot) de
Created 01/06/2015 (3871 days ago)
Due
Updated 01/09/2015 (3868 days ago)
Assigned 01/07/2015 (3870 days ago)
Resolved 01/09/2015 (3868 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/09/2015 12:35:56 AM Michael Rubinsky State ⇒ Resolved
 
01/08/2015 09:16:02 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #16 Reply to this comment
Date issue is fixed. I see the problem with the From header, working it now.
Yes, but I need this patch as well:
https://github.com/horde/horde/commit/ea21d7d704ed7e31865589ed5cd5b7d34b07fecf

Confirm this is working now.

01/08/2015 02:36:54 AM Git Commit Comment #15 Reply to this comment
Changes have been made in Git (master):

commit 5b01d608bce5e303a8f32d95b8f95d1602e3d9ee
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Wed Jan 7 21:35:29 2015 -0500

     Need to rebuild the header string since it might have changed locally.

     Bug: 13784

  framework/Core/lib/Horde/Core/ActiveSync/Mail.php |    3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)

http://github.com/horde/horde/commit/5b01d608bce5e303a8f32d95b8f95d1602e3d9ee
01/07/2015 09:57:43 PM Michael Rubinsky Comment #14 Reply to this comment
Date issue is fixed. I see the problem with the From header, working it now.

01/07/2015 09:53:13 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #13 Reply to this comment
Well, that explains it - the Date header is completely missing from 
the Email the HTC generates. I'll add a check for that and add one 
if it's missing.
Great, this device cost me nerves.
There is no "From" header either, but we have code that already 
takes care of that. Do you have a activesync identity pref set 
(Prefs->Horde->ActiveSync) and a valid From value in that identity?
Yes check this first and is set to "Standardidentität".

01/07/2015 09:52:57 PM Git Commit Comment #12 Reply to this comment
Changes have been made in Git (master):

commit ffdaf4b40b6b20898f2ff2315e2f2dbfb4bea16e
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Wed Jan 7 16:52:21 2015 -0500

     Check for Date header and add if missing.

     Bug: 13784

  .../ActiveSync/lib/Horde/ActiveSync/Rfc822.php     |    5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)

http://github.com/horde/horde/commit/ffdaf4b40b6b20898f2ff2315e2f2dbfb4bea16e
01/07/2015 09:44:04 PM Michael Rubinsky Comment #11
Assigned to Michael Rubinsky
Reply to this comment
Well, that explains it - the Date header is completely missing from 
the Email the HTC generates. I'll add a check for that and add one if 
it's missing.

There is no "From" header either, but we have code that already takes 
care of that. Do you have a activesync identity pref set 
(Prefs->Horde->ActiveSync) and a valid From value in that identity?
01/07/2015 09:19:42 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #10
New Attachment: send_debug Download
Reply to this comment
Would help if I told you where :)

This goes in ActiveSync/Request/SendMail.php, on the line right 
after the comment "// Check for wbxml vs RFC822" on line 47
Here the debug info.
01/07/2015 08:56:54 PM Michael Rubinsky Comment #9 Reply to this comment
Would help if I told you where :)

This goes in ActiveSync/Request/SendMail.php, on the line right after 
the comment "// Check for wbxml vs RFC822" on line 47
01/07/2015 08:55:43 PM Michael Rubinsky Comment #8 Reply to this comment
No, over HTTP(s). I need to see what the HTC is sending up to Horde
(it doesn't use SMTP).
We use only https don't know how to use this with wireshark.
For the record, you just need to point wireshark to a copy of the 
certs, but don't worry about it.

Try this:

Horde::debug($this->_decoder->getFullInputStream());

It should write the entire request out to horde_debug.txt in your tmp 
directory. It might/probably will prevent the rest of the request from 
finishing normally, so be sure to remove the line after you get the 
debug file.
01/07/2015 08:46:50 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #7 Reply to this comment
No, over HTTP(s). I need to see what the HTC is sending up to Horde 
(it doesn't use SMTP).
We use only https don't know how to use this with wireshark.
01/07/2015 08:32:15 PM Michael Rubinsky Comment #6 Reply to this comment
Are you able to get a wiretrace during the sendmail command?
With wireshark on localhost:25 ?
No, over HTTP(s). I need to see what the HTC is sending up to Horde 
(it doesn't use SMTP).
01/07/2015 08:27:38 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #5 Reply to this comment
Are you able to get a wiretrace during the sendmail command?
With wireshark on localhost:25 ?
Never try this, some Horde debug is no option?

Same user profile works from a Motorola Razr i, must be a problem with 
the HTC...
01/07/2015 08:16:27 PM Michael Rubinsky Comment #4 Reply to this comment
Are you able to get a wiretrace during the sendmail command?
01/07/2015 08:14:36 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #3 Reply to this comment
I can't reproduce the missing date/from fields with email sent from 
any EAS client.
See this only on the HTC One mini2 :-/
What type of mailer do you have configured in horde's configuration?
$conf['mailer']['params']['host'] = 'localhost';
$conf['mailer']['params']['port'] = 25;
$conf['mailer']['params']['secure'] = 'tls';
$conf['mailer']['params']['localhost'] = 'localhost';
$conf['mailer']['params']['auth'] = false;
$conf['mailer']['params']['lmtp'] = false;
$conf['mailer']['type'] = 'smtp';
01/07/2015 07:52:42 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Reply to this comment
I can't reproduce the missing date/from fields with email sent from 
any EAS client.  What type of mailer do you have configured in horde's 
configuration?
01/06/2015 04:52:16 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #1
State ⇒ Unconfirmed
New Attachment: Mail_Sent_Folder.txt Download
Patch ⇒ No
Milestone ⇒
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Missing From and Date of sent mail in header (HTC One mini2)
Queue ⇒ Synchronization
Reply to this comment
I'am not sure this is a Horde_ActiveSync bug.
The copy of a sent message in my "Sent" folder missing the From and 
Date field in the header.

IMP show in this case "Invalid Address" and "Unknown Date".

I guess horde should replace the "From" with my identity?

Saved Queries