Like

Welcome On Mobius

Mobius was created by professionnal coders and passionate people.

We made all the best only for you, to enjoy great features and design quality. Mobius was build in order to reach a pixel perfect layout.

Mobius includes exclusive features such as the Themeone Slider, Themeone Shorcode Generator and Mobius Grid Generator.

Our Skills

WordPress90%
Design/Graphics75%
HTML/CSS/jQuery100%
Support/Updates80%

Working with Logic Apps Dropbox and SMTP Connector

By Inaam Ur Rehman 3 weeks agoNo Comments

Logic app is code-less integration service for communication between multiple platforms and services. It has extensive set of connectors for communication purpose. In this article we are just going to discuss two of them, Dropbox and SMTP connector.

Logic apps can perform various actions on Dropbox like, get all list of files, copy file and delete file etc. User can instantiate logic app if any new file got created or existing file modified in Logic App. Here we are going to send an email to Gmail account using SMTP if any new file gets generated in Dropbox.

 

Get Your Free Beginner’s Logic Apps Training Guide 

 

Prerequisites:

  • Azure subscription, if you don’t have subscription, you can start with free subscription here .
  • A Gmail account.
  • Dropbox account.

Create Logic App:

  1. Sign in to Azure Portal
  2. From the azure menu click/tap on New > Enterprise Integration > Logic App.

 

 

  1. Enter logic app name, select your subscription and add new or existing resource group.
  2. Click/tap on Create button.

 

 

  1. You can see a lot of already created Logic Apps but here we are going to start with blank Logic App. Click on a blank logic app.
  2. Type Dropbox as a filter in logic app designer. And select Dropbox – When a file is created from trigger section.

 

  1. If you haven’t created any Dropbox connection in any existing Logic App, you need to click login first, provide your credentials and authorize the Logic app to use your Dropbox.
  2. Once Dropbox connection has been created. Tab/click on the folder icon located at the top right side of Folder text box. It will show all folders structure from Dropbox.
  3. Browser to the folder where you want to check file.
  4. Set time interval for recurrence, here logic app will check files after every five minutes.

 

 

  1. At the next step, click on Add an action.
  2. Type SMTP and select SMTP – Send Email from Actions.
  3. Create new connection for SMTP if you don’t have any existing connection, and provide information like below.

 

  1. Connection Name can be any name. For Gmail account, you need to use “smtp.gmail.com”, and provide your email credentials.
  2. When connection establish, Provide email parameters in respective textboxes. Like mentioned in the screenshot below. In “From” and “To” textboxes you need to use email addresses.

 

 

  1. Save you work and run the logic app.
  2. Drop any file to folder in Dropbox and check your Gmail account. You will receive an email with attached file.
Category:
  Logic Apps
this post was shared 0 times
 000
About

 Inaam Ur Rehman

  (9 articles)

Inaam ur Rehman is a Senior Software Engineer in Allied Consultants. With a experience over 3 years in ASP.Net, SharePoint, BizTalk, Java Script and JQuery . He is one of the key resources of ASP.Net for the organization.

Leave a Reply

Your email address will not be published.