Need help in Gmail Integration in my Application - php

I want to integrate Gmail (googleApps) into my application. I have created a PHP Imap library which will give me my required emails it is very slow and takes a lot of time during execution. I heard that Gmail (googleApps) is beginning to provide an interface that we can directly show in our web page. If we have something like this by using any third party API or google API please help me.
Thanks in advance.

I will give you a short answer. You don't have a detailed question you want someone to help you find something? Then maybe this is what you are looking for:
Google for
walsh gmail-php-imap

Related

SAML PHP Toolkit with azure as my

I'm using saml php toolkit and aiming to make azure as idp for authentication.! can anybody here . can help me for the idp configuration to submit and receive reply.
You can get started from http://azure.microsoft.com/en-us/documentation/articles/active-directory-authentication-scenarios/. It shows us a lot of scenarios. Based on your description, you have not described your scenario's details, so it is a bit difficult for us to provide more information at this stage. However since you're using SAML, I’d like to suggest you to look at the first scenario in the document: Web Browser to Web Application. Detailed registration guideline can be found at https://msdn.microsoft.com/en-us/library/azure/dn132599.aspx. After Azure registration is complete, it’s needed to follow the steps in http://developers.onelogin.com/v1.0/page/saml-toolkit-for-php to register in OneLogin. Please use the URL like https://login.windows.net/[TenantDomainName]/FederationMetadata/2007-06/FederationMetadata.xml instead of OneLogin's own identity provider URL. More information can be found at https://msdn.microsoft.com/en-us/library/azure/dn195583.aspx. Please feel free to let us know if you need further assistance.

Can someone please help me in setting up OAuth server and client implementation in PHP?

Even after lots of googling I could only find very basic and raw examples which are very difficult to understand. Can someone please help me in setting up OAuth server and client implementation in PHP?
Thanks in advance.
I've created a simple class in PHP for Google oAuth available here
I've also implemented other Facebook and Microsoft oAuth on other projects and they are similar but don't work exactly the same way. The differences I remember are:
Some require requests to be send by POST others by GET
Facebook doesn't send all replies in JSON format
You can read my small tutorial here, the site itself uses that class and oAuth login :)

Easiest option to send emails from PHP?

I am developing social service in Drupal. There is need to send notifications to registered users.
Which option would be the easiest to integrate Drupal with and to send notifications to users?
Amazon SES,
Google App Engine,
third party provider (like Sendgrid/PostageApp/CritSend)
SES/GAE are clear winners from business point of view.
This question is about which option would be the easiest to integrate with PHP code and which would provide least headache.
Please note that third party providers are not that easy to maintain, as they might drop emails without right MTA relay (unfortunately I experienced that problem with Sendgrid and another PHP service).
I would recommend you to use SwiftMailer, a PHP library that can easily send mails via any SMTP server, SendGrid will provide you with an SMTP server that you can use I believe.
in my opinion app engine(python). only a couple lines of code to create webservice to send out e-mail in python.
you just do simple post from cURL via PHP to sent email. easy as pie. Maybe later I will post a little snippet to achieve this :P.
These days, handling email in house is a royal PITA. I recommend mailchimp instead.
Just want to throw PostageApp's hat into the ring. We've got some documentation on integration with PHP and our API is one of the cleanest and easiest to use around.
We're also exploring an integration with Amazon SES to capitalize on their great prices (And the free option!) so you might be able to use both? Happy to answer questions should you have any.

How to download source and implement Google OpenID+OAuth Hybrid protocol?

I want to build a website that allows user sign in with Openid, especially Google account. I wanna use Google Federated Login with Hybrid protocol. I found that link:
http://code.google.com/intl/vi-VN/apis/accounts/docs/OpenID.html
But I didnt find any link to download the source code. Anybody can help me? Thank you so much.
P/S: I only can use php, plz help me with php source code :D. Thanks again.
The OpenID+OAuth hybrid protocol is just OpenID with a very simple extension on top. Get yourself a decent PHP OpenID library and find/implement the very simple OAuth extension and you're good to go.
Well, you'll also need a library to perform the OAuth signing with the access token.

Implementation: How to retrieve and send emails for different Gmail accounts?

I need advice and how to got about setting up a simple service for my users. I would like to add a new feature where users can send and receive emails from their gmail account. I have seen this done several times and I know its possible.
There use to be a project for "Libgmailer" at sourceforge but I think it was abandoned. Is anyone aware of anything similar?
I have found that Gmail has a Python API but my site is making use of PHP.
I really need ideas on how to best go about this!
Thanks all for any input
any library/source that works with imap or pop will work.
Well if Google didn't come up with anything personally I'd see if I could reverse engineer the Python API by implementing it and watching it with a packet sniffer. My guess is it's just accessing some web service which should be pretty easy to mimic regardless of the language you're using.
Just a thought, Gmail supports POP/IMAP access. Could you do it using those protocols? It would mean asking your users to go into their gmail and enable it though.

Categories