Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>That JavaScript does certainly an important thing: it adds a cookie to the document. A decent HTTP client is required to send all valid cookies along the headers on every HTTP request. You should do the same programmatically. You can add headers using <a href="http://docs.oracle.com/javase/6/docs/api/java/net/URLConnection.html#setRequestProperty%28java.lang.String,%20java.lang.String%29" rel="nofollow noreferrer"><code>URLConnection#setRequestProperty()</code></a>.</p> <p>Further, there are several things to take into account as well when submitting forms programmatically: you should not skip any hidden input fields (<code>input type="hidden"</code>), those might be of relevance. You should also send the <code>name=value</code> pair of the submit button you'd like to press programmatically along as request parameter. Finally, you should not be using <code>&amp;amp;</code> to concatenate parameter pairs, but <code>&amp;</code>.</p> <p>Note that I don't guarantee that it will finally work, that OWA thing might have some other prevention against bots, but it should solve the as far spotted problems. </p> <h3>See also:</h3> <ul> <li><a href="https://stackoverflow.com/questions/2793150/how-to-use-java-net-urlconnection-to-fire-and-handle-http-requests">How to use URLConnection?</a></li> </ul> <hr> <p>By the way, have you considered just connecting it using a SMTP/IMAP API like <a href="http://www.oracle.com/technetwork/java/javamail/index.html" rel="nofollow noreferrer">JavaMail</a>?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload