launch url "mailto:" does not accept characters like...

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

launch url "mailto:" does not accept characters like...

Post by sphere » Sat Jun 11, 2016 2:29 pm

Hi ,

it seems that launch url "mailto:" does not like characters like ü ö
when thunderbird opens a new email to send, then the Body which contains the whole message seems not to parse

as revMail does'nt seem to matter and parse the message without a problem.

But i need to use url "mailto:" because with revMail you can't BCC someone

two questions come up:
1. is this a problem of Livecode 7.1.4 or from the email client?
2. how can i use url "mailto:" and parse correctly characters like ü ö
3. Why the H*ll is Bcc not part of revMail? I think it is just incomplete

thanks for any help on this.

Sphere

PBH
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 133
Joined: Sun Feb 20, 2011 4:26 pm
Contact:

Re: launch url "mailto:" does not accept characters like...

Post by PBH » Sun Jun 12, 2016 2:26 am

You can force the Bcc in revMail by using the href attribute &bcc=, try this…

Code: Select all

   revMail "someone@example.net","me@example.org &bcc=secret@example.com","My Subject Here","Test üö"
Works for me in LC 7 and 8.

Paul

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: launch url "mailto:" does not accept characters like...

Post by sphere » Sun Jun 12, 2016 10:22 am

Great great great! :D

I tried similair before, but did not work.
Bcc works now with Revmail and also the characters ü ö are now parsed correctly.

Thanks Paul! :)

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10050
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: launch url "mailto:" does not accept characters like...

Post by FourthWorld » Sun Jun 12, 2016 6:27 pm

sphere wrote:I tried similair before, but did not work.
Bcc works now with Revmail and also the characters ü ö are now parsed correctly.
What changed between the working and non-working states?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: launch url "mailto:" does not accept characters like...

Post by sphere » Sun Jun 12, 2016 8:55 pm

Hi Richard,

- launch url "mailto:" not parsing words contaning ü ö, meaning the body message is totally empty in the to send email
- RevMail is parsing correct so the whole body message is in the new opened email

if you refer to the way the line RevMail was written by Paul or myself.
I can't show it because i already have overwritten the line.

But i wrote the &bcc at the wrong part after the last comma and between () to put a local in between too like (&bcc=tThisEmail) , but Livecode started directly that it was wrong. Don't know exactly anymore.
Anyway i though'd to difficult also :oops:

Thanks!

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: launch url "mailto:" does not accept characters like...

Post by sphere » Mon Jun 13, 2016 9:59 am

Ok did some more tests as it was ok on Thunderbird but not on Outlook...

So on Outlook the bcc emailaddress was set on the cc addressbar like this &bcc=email@address.com

So i just used RevMail and added &bcc= after the first emailaddress like this:
revMail MainEmail@address.com &bcc=bccEmail@address.com,,tSubject,tBodyMessage

so &bcc before the first comma.
Now the bcc is at the correct bcc address bar.

Great that's working ok now with Outlook also.

btw: i noticed that with Outlook launch url "mailto:" and characters like ü ö are parsed and the rest of the text too. Except those characters are then replaced by a black square window character with a ? in it. (in Thunderbird the complete text was not parsed)

So there is also difference between parsing to Thunderbird or Outlook.

Post Reply