Previous | Next | (P-PDF) Developers
Topic: Re: MailTo Function in v5.0 (Via Email)
Conf: (P-PDF) Developers, Msg: 72475
From: prodok
Date: 9/16/2002 11:54 PM
This behavior is to be expected because WebCapture has no clue about
the mailto: protocol.
The primary workaround would be to deactivate WebCapture (by setting
the preference for a weblink to open the link in a browser, which
then would initiate the mail client).
Another workaround is to use the app.mailMsg() method. However you
would have to protect this line of code for Reader (which does not
support this method). You would first decide if you are in Reader. If
so, you would use the getURL() method with the mailto: protocol. If
not, you would use the mailMsg() method.
One important thing is that your Reader/browser combo are properly configured.
Hope, this can help.
Max Wyss
PRODOK Engineering
Low Paper workflows, Smart documents, PDF forms
CH-8906 Bonstetten, Switzerland
Fax: +41 1 700 20 37
or +1 815 425 6566
e-mail: mailto:max@prodok.com
http://www.prodok.com
[ Building Bridges for Information ]
______________________
>We recently switched from 4.0 to 5.0. Previously, we used the WWW
>link tool to create a mailto function so that an email window would
>open up with the "to" field filled in when it was clicked. This
>worked across to Reader 4.0, as well.
>
>However, in v5.0, this procedure causes an error message in the full
>version AND in Reader 5.05 -- Web Capture doesn't know how to handle
>the link. Then it opens up a web browser with "Action Canceled,"
>finally an email window pops up.
>
>I did find javascript text to use with the Javascript link tool to
>enable a mail-to function, but it ONLY works in the full versions --
>NOTHING happens when the link is clicked in Reader 5.05 (even though
>it still appears as a link).
>
>Does anyone know how to create a mail-to function in 5.0 that will
>also work in Reader 5.05 (without the error messages/web browser
>opening)? I've contacted tech support at Adobe and they say they
>don't know how it can be done (apparently, a feature that was in 4.0
>and is NOT in 5.0).