6.0.0-git
2019-03-21

[#4024] Can't send mail or expand names in compose
Summary Can't send mail or expand names in compose
Queue MIMP
Queue Version 1.0
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester pallos (at) trefort (dot) elte (dot) hu
Created 2006-06-11 (4666 days ago)
Due
Updated 2006-07-31 (4616 days ago)
Assigned 2006-06-11 (4666 days ago)
Resolved 2006-07-31 (4616 days ago)
Milestone
Patch No

History
2006-07-31 11:59:12 Jan Schneider Comment #8
State ⇒ Not A Bug
Reply to this comment
No feedback.
2006-06-29 12:44:08 Jan Schneider Comment #7 Reply to this comment
But I have a screenshot of the compose page's source. Here you can
see, that the form posts the actionID in UTF8.
And that's how it is supposed to be. If the client and the server 
understand UTF-8, we will use it. Do the screen elements that contain 
foreign characters render correctly on your device?

What happens if send messages with latin2 characters, is the sent 
message encoded properly.
Is it possible to set the MIMP pages to latin2 (8859-2)? Since our
users will send mails in hungarian. I think this would solve the
problem as well.
No, and it doesn't make any sense because it only hides the real problem.
2006-06-12 08:51:07 pallos (at) trefort (dot) elte (dot) hu Comment #6
New Attachment: actionID.gif Download
Reply to this comment
I doubt that. Do you have any information to back up this opinion with?
The workaround works.

But I have a screenshot of the compose page's source. Here you can 
see, that the form posts the actionID in UTF8.

Is it possible to set the MIMP pages to latin2 (8859-2)? Since our 
users will send mails in hungarian. I think this would solve the 
problem as well.
2006-06-12 08:10:48 Jan Schneider Comment #5 Reply to this comment
I doubt that. Do you have any information to back up this opinion with?
2006-06-11 20:35:36 pallos (at) trefort (dot) elte (dot) hu Comment #4 Reply to this comment
This means that compose.php isn't properly translating the string on
the second load, though - any idea why that might be?
Might be something related to codepages. The form posts the actionID
in UTF8. Maybe compose.php waits for an ISO-8859-2 (latin2) coded
value?
Ok, that's the problem. compose.php expects

"A címrészlet teljessé egészítése" (in 8859-2)

but gets

"A c?­mr??szlet teljess?? eg??sz?­t??se" (in UTF8)

When I try to expand names.
2006-06-11 20:28:21 pallos (at) trefort (dot) elte (dot) hu Comment #3 Reply to this comment
This means that compose.php isn't properly translating the string on
the second load, though - any idea why that might be?
Might be something related to codepages. The form posts the actionID 
in UTF8. Maybe compose.php waits for an ISO-8859-2 (latin2) coded value?
2006-06-11 20:11:05 Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
This means that compose.php isn't properly translating the string on 
the second load, though - any idea why that might be?
2006-06-11 19:53:31 pallos (at) trefort (dot) elte (dot) hu Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ Can't send mail or expand names in compose
Queue ⇒ MIMP
Reply to this comment
I'm using Horde framework with hungarian localization.

In MIMP's compose page I could neither send the mail nor expand the 
recipient address with the corresponding links.

Figured out that the form in templates/compose/compose.inc sets the 
actionID to the localized name instead of the original english action 
names while the compose.php checks for the english names. Therefore 
nothing happens when I click any of the links.



A quick workaround was replacing

case _("Expand Names"):

to

case _("A c?­mr??szlet teljess?? eg??sz?­t??se"):

... and so on

in the switch($actionID) of compose.php



regards,

Richard

Saved Queries