I dont know which way is easier so i ask for simplier one.
How to send email in win32 or open link like: www.wp.com/?text=message but dont show browser to user? Im new to win32, please help.
You can simply use the WinHttp api to open the http url www.wp.com/?text=message. This will not open the browser and will send the email also. I assume that you have full control over administration of www.wp.com so that it can send email from the server.
See this for WinHttp help: http://msdn.microsoft.com/en-us/library/aa383138%28VS.85%29.aspx
Related
I am trying to find a way to deliver a message to Skype chat via http, e.g. using Postman or a Java Lib and so far I was not successful. For example, Microsoft Teams provides webhooks which enables me to send a message to a team from a client such as Postman, therefore I was wondering if there is something like this for Skype.
Thank you for your help.
I want to write a chat program with login page.
I want to send request from client to server with username and password, then server receives, verifies and then responds to client.
Can anyone please guide me of what QT class should I use or can tell me some ideas of how to access them?
With QTcpServer, you can set up authentication for client with some basic username:password pair at the start. As soon as the connection is established, ask or wait for the username:password to be sent over to the Server. Verify it. In case of invalid data or timeout, close the connection.
As far as the login page is concerned, you need to host that on the Server and you'll be dealing in HTTP protocol instead of TCP. Take a look at QHttp. That'll get you started.
For Qt, there are other options too. You just have to lay down your requirements and find the one that might fulfill those e.g. Wt.
I try to add an event in my calendar by an installed application.
The problem: I didn't get the success-code to change for an access token.
My request seems like following:
accounts.google.com:80/o/oauth2/auth?scope=https:%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=73561***.apps.googleusercontent.com
If i send this request at the browser it works. Like the example.
But i wanted my application to do everything for me. That means, that the User only give his login dates and he is able to add as an example an event. Without giving the agreement. Well, if my application send the same request i get an answer: "moved temporarily". But i need the key (success code) from the title bar.
I should add, that i use c++ so i can't use the Google Api. Therefore, i use cURL to send my request.
Anyone able to help me?
Hello am cofused with joomla 2.5 and smtp.
I buy domen and hosting and in cpanel i make new email (contact#my-site.com)
I want all received and sent messages to get in joomla admin mailbox. Someone tell me that is inposible and i need module for that.
I configure my SMTP in joomla for gmail. Whay gmail? Gmail for test to see does message will be received in JO Mailbox:
Mailer: SMTP
SMTP Authentication: Yes
SMTP Security: SSL
SMTP Port 465
SMTP username: your gmail username
SMTP password: your gmail password
SMTP host: smtp.gmail.com
And when i send email from gmail to contact#my-site.com message not delivered in joomla mailbox.
Whay what i do wrong i configure smtp? BUt all message sent from gmail to contact#my-site.com is delivered in cpanel mail service.
I can read all mails via Using Horde, RoundCube and SquirrelMail. All message is there but that message i want to show in joomla mailbox. Whay? BCS i have many moderators on website and i dont want give full access on cpanel.
So if moderator want to read new message he must to go in my-site.com/cpanel and log there and than can read message..
Anyone can help me for this or give some module or component to fix that.
Thanks!
The Mail Settings in the Joomla Global Configuration are only used if Joomla itself wants to send some emails. Like when a new user is created it can send an email to the user and the administrator. It's not meant to read emails at all (thus no pop or imap settings, only smtp). By default it will use the PHP mail present on the webserver which most of time works fine.
If you want to read emails from Gmail on your Joomla site, you need indeed a component for that. You can have a look at the Joomla Extension Directory (JED: http://extensions.joomla.org/extensions/contacts-and-feedback/email) if you find something which does that.
Personally I would just set up my email program (Outlook, Windows Live Mail, Thunderbird, ...) to pull the mails using pop or imap. That's much simpler than working with any webmail imho :)
I am looking into authenticating via google.
I dont understand how it works:http://code.google.com/apis/accounts/docs/OpenID.html#Samples
If i do that 2nd request by entering the data as one url with params into browser i get back XML file. Should i not get back sample response nr3?
Can somebody explain this to me?
The problem is, that im trying to sort through some third party app that uses google openid authentication and its not recieving authenticated users e-mail back, like in sample response 3.
Alan
PS i have read through similar questions and their responses and gone through pages like:
How does OpenID authentication work?
http://www.windley.com/archives/2006/04/how_does_openid.shtml
http://tinisles.blogspot.com/2008/02/how-does-openid-work.html
http://openid.net/pres/protocolflow-1.1.png
What sort of XML file?
Remember that a checkid_setup request like that isn't something your application is meant to make with a direct connection, it's a request that's sent from the user's browser. So the response is going to be something for the browser to parse, prompt the user to log in if necessary, maybe ask the user for permission or which values it should send back, and only after all of that send back a redirect like in the sample response.