|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Sending an email |
[axiomspremise]
|
Post subject: Sending an email |
Post rating: 0
|
Posted: Tue 02 Mar, 2010, 14:50
|
|
User rating: 0
Joined: Tue 02 Mar, 2010, 14:47 Posts: 3
|
Hi, When I try to send an email from my Java code, a Dukascopy dialog pop's up asking me to allow the email operation. How can i disable the pop? I use a Mac.
thanks, axiom
|
|
|
|
 |
API Support
|
Post subject: Re: Sending an email |
Post rating: 0
|
Posted: Wed 10 Mar, 2010, 15:36
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Please use RequiresFullAccess annotation
com.dukascopy.api Annotation Type RequiresFullAccess @Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface RequiresFullAccess
When strategy loader sees this annotation for strategy class it asks user if he wants to allow the strategy full access. If such acceptance receives strategy classes, they are loaded with full access policy allowing to read/write any files, use sockets etc. Always try to avoid using this annotation, if only need to read/write to file - you have full access to "~/My Documents/My Strategies/files" folder. In this folder you can read or write any file without requesting the full access.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|