RE: open gmail in browser from 4D

2017-11-02 Thread Epperlein, Lutz (agendo) via 4D_Tech
> open url(“mailto:some mail”;"https://mail.google.com/“)

Of course this doesn't work. The second parameter is called appName according 
the docs (http://doc.4d.com/4Dv15/4D/15.5/OPEN-URL.301-3576781.en.html). 4D 
will use the local system to search for such an app. "https://mail.google.com/“ 
isn't an app, it is an URL.

You can try 
OPEN URL("https://mail.google.com/mail/u/0/#inbox?compose=new;) 
Of course the user has to be logged in into Gmail already. 
Maybe there is some documentation on the Google developer pages to do it more 
reliable.

HTH

Regards
Lutz

--  
Lutz Epperlein  
--
Agendo Gesellschaft für politische Planung mbH
Köpenicker Str. 9
10997 Berlin
http://www.agendo.de/
--



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: open gmail in browser from 4D

2017-11-02 Thread Charles Miller via 4D_Tech
Good try but no. I want to open a new mail message from inside a 4D
application. When I enter

open url(“mailto:some mail”;"https://mail.google.com/“)

it still opens my default email program.

I tried downloading the gmail application but that does the same thing.

Regards

Chuck

On Wed, Nov 1, 2017 at 6:29 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> how about
>
> OPEN URL("https://mail.google.com/;)
>
> you could analyse the absolute path to reach a particular folder,
> but they could change at any time.
>
> and if the user is not already logged in to Google on their browser,
> they'd be redirected anyway.
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: open gmail in browser from 4D

2017-11-01 Thread Keisuke Miyako via 4D_Tech
how about

OPEN URL("https://mail.google.com/;)

you could analyse the absolute path to reach a particular folder,
but they could change at any time.

and if the user is not already logged in to Google on their browser,
they'd be redirected anyway.



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**