Sending contact forms emails using Microsoft Graph instead of SMTP - oauth

Microsoft announced the deprecation of basic authentication in Exchange Online which I believe will cause a problem to some sites I look after that use PHPMailer and send emails currently using SMTP. I guess what I will need to do is try and send email using Microsoft Graph instead of SMTP via the websites forms.
I know how to configure this in the accounts with Microsoft I just don't know how to implement this in the forms themselves and there doesn't seem to be any how to documentation online... has anyone else had a similar issue?

Related

Get zoho emails in my rails application

I am trying to fetch emails received and sent from zoho account.
I want to trace all the emails coming to me in outlook or I am sending from outlook.
I have seen zohoCRM, rubyzoho but not able to get things done.
Any suggestions on this.
What you are looking for is a way to build a simple email client with ruby.
There is a simple Ruby Mail library which can get the work done for you. For quick reference, you can check the section "Getting email from a POP server"
Zoho supports POP Access. You should be able to get the access details from there and use it.
The Ruby mail library also support IMAP access and so does Zoho.

Reading emails from Exchange online in c#.net using Office 365 API

I am trying to read emails from Exchange online through a Office 365 API.with using my username and password for authentication.
Is it possible to access the O365 api? (only using user credentials)
How can I do that? Anyone can help is appreciated.
If your exchange online is part of Office 365, you should definitively take a look here : http://dev.office.com
You will find many tutorials to get access to your mails.
Take a look here : http://dev.office.com/getting-started/office365apis
It uses the Microsoft Graph to query your mailbox and retrives messages :
https://graph.microsoft.com/v1.0/me/mailFolders/Inbox/messages
The authentication process is provided byt Azure Active Directory, through ADAL SDK.
In Visual Studio, you can create easily an application, and then call the submenu 'Add connected services' and you're done !

Features of Mandrill API

I am new to Mandrill and its integration. Can anyone help me to figure out the advantages of using Mandrill? What can be done using Mandrill other than sending messages and tracking them?
Mandrill has many uses. You might have seen those on their website itself. Actually its a Mail Transaporter like PHP mailer, but it uses their own server for sending mails.
As said on their website,
Mandrill runs on a globally distributed infrastructure that can
deliver emails in milliseconds.
This is because when you send a mail through their SMTP or send.json (API) method, the send mail possibly see the fastest path algorithm to deliver a mail. That's why it take milliseconds to deliver. They have ~7 different mail servers worldwide for this.
Major Features,
Sending mails fastly than our own server using PHP Mailer.
Sending mails via pre-designed templates which can be reusable by the merge vars we're using.
Support multiple language platforms like, cURL, JSON, Python, PHP, Ruby, Nodejs, Dart and also their depending frameworks.
It tracks clicks from the mail we sent. For Ex: each and every url link in our sent mails is redirected only after tracking from mandrillapp site. This enables mandrill to track the no of opens in a mail and track analytics.
Through mandrill we can construct our own mail sending application or integrate into an existing application.
It's mostly used for Transactional Messages like functions like welcome mail, forgot password, cart details and etc.
It can be integrated into other shopping cart web applications.
Their api call works on even in the developer environment.
Lesser spam.
Verified domain options like DKIM and SPF settings. This enables the mails to identified by major email providers like gmail, google, etc.
It can be used as SMTP version and can be integrated into major SMTP applications.
Reports: Demographics of email send, Compare status, Which url in our mails has been clicked and no of counts.
Setup rule for delivering emails.
A/B testing, custom SMTP headers, Inbound domains and etc.
There are many other features in developer perspective. If you mention in which platform you're trying to use mandrill addditional details can be provide.
Hope this might help you.
To name a few, You can
1) use templates to do A/B testing ( which allow you to experiment with different templates, and end up with something which is effective).
2) use Embedded images , which will reduce the chance that your emails will end up in spam.
Hope this helps,

Is it possible to integrate Outlook Social Connector with Rails?

I'm currently investigating the possibility to connect rails applicatrion with exchange for getting user information. I think to create rails page with user profile, and get profile information from exchange.
I found this: Outlook Social Connector
As I understand, this is an API for getting information about user (contact list, updates, new e.g.) from exchange, isn't it?
So, please, help me to understand this thing...
Is it possible to get facebook-updates of my outlook-contacts using some of EWS/Social Connector APIs ?
No, the Outlook Social Connector is a way that Outlook can connect to social networks. It sounds like you want to access data in the Exchange server. Have you looked at the REST APIs? There's a Rails sample here: https://github.com/jasonjoh/o365-vcftool. The code from that sample is also wrapped in the ruby_outlook gem.

Email contact on iOS application

I know we can retrieve email contacts from the "Contacts" app.
What if I want to retrieve other email from let's say gmail inside my app. Is this possible?
Is there an sdk to retrieve it? e.g (the app will prompt user to login to gmail, and it will send back all the email contact)
What about Yahoo and Exchange?
Maybe this question about Gmail might help you.
I think similar to Gmail case, you can do with Exchange API and Yahoo
But Yahoo currently says:
Access to Yahoo’s IMAP service is one of the top requests from the application developer community. We are happy to announce that a Yahoo IMAP service with OAuth-2.0 will be available in early 2015. As announced on Dec 19th, 2014, we will no longer support the current Yahoo-customized Mail APIs after February 16, 2015. We will provide a migration path to this new service, which will allow us to better serve the developer community. For more information, send a mail to imap-service#yahoo-inc.com.

Resources