via Shellbefehl :
Code: Alles auswählen
curl -su user:pass https://mail.google.com/mail/feed/atom
Code: Alles auswählen
<?xml version="1.0" encoding="UTF-8"?><feed version="0.3" xmlns="http://purl.org/atom/ns#"><title>Gmail - Inbox for blablablabluppp@googlemail.com</title><tag>New messages in your Gmail Inbox</tagline><fullcount>0</fullcount><link rel="alternate" href="https://mail.google.com/mail" type="text/html" /><modified>2017-0
Wie müsste denn der entsprechende Curl-Aufruf aussehen? Meine Versuche, welche in etwa so aussehen:
Code: Alles auswählen
string curl = "extra/curl curl -su user:pass https://mail.google.com/mail/feed/atom";
dom.GetObject("CUxD.CUX2801002:1.CMD_SETS").State(curl);
dom.GetObject("CUxD.CUX2801002:1.CMD_QUERY_RET").State(1);
string response = dom.GetObject("CUxD.CUX2801002:1.CMD_RETS").State();