This article explains how you can pass e-mail, telnet and news URLs to an external program.
The following placeholders are supported by Opera for Linux when passing mailto-links to an external e-mail client:
Notice that % escapes itself. If a placeholder is contained within square brackets [], and the parameter exists, the content of the square brackets is passed to the program, but without the brackets. If the parameter does not exist, neither the content nor the brackets is passed to the external program.
If brackets are omitted, Opera will pass the entire string, regardless of its content.
A subset of these placeholders is supported by Opera for Windows:
Notice in particular that %1 is not supported.
Example 1: UNIX
Opera is set to use kmail as an external e-mail client, using the following placeholders:
kmail [-s %s] [--body %m] [%t]
1. The URL <"mailto:abc@xyz.nn?body=hello"> becomes:
kmail abc@xyz.nn --body hello
2. The URL <"mailto:abc@xyz.nn?body=hello?subject=how are you"> becomes:
kmail abc@xyz.nn --body hello -subject how are you
Example 2: UNIX
Set Evolution as an external e-mail client using the following placeholder:
evolution [%r]
The URL <"mailto:abc@xyz.nn?body=hello?subject=how are you"> becomes:
evolution mailto:abc@xyz.nn?body=hello?subject=how are you
Example 3: Windows
Set Outlook Express as an external e-mail client using the following placeholders:
Open with other application:
"C:\Program Files\Outlook Express\msimn.exe"
Parameter:
/mailurl:mailto:%t?subject=%s&body=%m&cc=%c&bcc=%b
Example 4: Windows
Set Mozilla Thunderbird as an external e-mail client using the following placeholders:
Open with other application:
"C:\Program Files\Mozilla Thunderbird\thunderbird.exe"
Parameter:
mailto:%t?subject=%s&body=%m&cc=%c&bcc=%b
Telnet
Supported flags:
If a placeholder is contained within square brackets [], and the parameter exists, the content of the square brackets is passed to the program, but without the brackets. If the parameter does not exist, neither the content nor the brackets is passed to the external program.
Example:
telnet [%a] [%p]
News
Supported flags:
If a placeholder is contained within square brackets [], and the parameter exists, the content of the square brackets is passed to the program, but without the brackets. If the parameter does not exist, neither the content nor the brackets is passed to the external program.
Example:
knode [%r]
Need help? Hit F1 anytime while using Opera to access our online help files, or go here.