6

In my html I am writting:

 <a  href="mailto:fromJavaSceript@gmail.com?body=%A0%F9%ED%0D%0A%F9%ED%A0%EE%F9%F4%E7%E4%A0%0D%0A%FA%2E%E6%0D%0A%EE%F1%F4%F8%A0%F4%E5%EC%E9%F1%E4">websitemail@gmail.co.il </a>

the new outlook window TEXT is opened the from the left to the right where I want it to be opened from the right to the left

Kara
  • 6,115
  • 16
  • 50
  • 57
yoav.str
  • 1,547
  • 6
  • 33
  • 73
  • I seriously doubt you can control that from a browser link, especially across non-IE browsers. However there *might* be something that could work between IE and Outlook. – Pointy Sep 26 '11 at 12:58
  • 1
    Wrap the body text in html and apply a style to it. – George Johnston Sep 26 '11 at 12:59
  • @George can you please show me an example , the message I write is In hebrew where the text is written from right to left , the data message is dispalyed in the outlook from the right to the left therefore it's seemes odd that the change is in my html couse i want to change the outlook view... – yoav.str Sep 26 '11 at 13:08
  • You should note that the encoding here is in ISO_8859-8, or windows-1255, but not utf-8, which is what I was expecting to see originally. – JXG Oct 10 '11 at 07:55

2 Answers2

0

You can add the unicode "mirror" character in front of the text. In html &#8238; or url encoded %E2%80%AE

Gerben
  • 16,747
  • 6
  • 37
  • 56
  • Sorry the unicode html entity didn't get encoded; messing up my post :-). Unicode has this character to indicate rtl content. If you put this in front of your content the text behind it is reversed. – Gerben Sep 26 '11 at 15:02
  • StackOverfow doesn't like this :-P – Gerben Sep 26 '11 at 15:06
  • @Gerben, is this actually working? cause it ain't workin for me....`&body=%E2%80%AEטקסט מיושר לימין` – Jadeye Nov 12 '17 at 19:17
  • 1
    Using U+202E (‮)That's a bad idea as it will override numbers, and embedded left to right text as well. A much more reasonable choice is to use U+200F (Right-to-left-mark). – Dov Grobgeld Apr 12 '22 at 09:34
0

Unfortunately, it's not possible.

See this question: Is it possible to add an HTML link in the body of a MAILTO link

The answer there refers to RFC 2368, whose second section reads, in part:

The special hname "body" indicates that the associated hvalue is the body of the message. The "body" hname should contain the content for the first text/plain body part of the message. The mailto URL is primarily intended for generation of short text messages that are actually the content of automatic processing (such as "subscribe" messages for mailing lists), not general MIME bodies.

So, according to the standard, the body has to be in plain text. That means that you're at the mercy of the client software: if it conforms to the standard, it will treat your body text like plain text, and behave in the default way.

I tried a lot of things on my local system (Outlook 2003), including changing my Normal.dot to be RTL, and configuring Outlook to use MS Word for new messages, and changing Outlook options to do everything RTL, but nothing worked, even as a workaround.

Community
  • 1
  • 1
JXG
  • 7,263
  • 7
  • 32
  • 63