Skip to content

Commit e43d544

Browse files
committed
msangapu review
1 parent 34d6ce8 commit e43d544

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed
6 Bytes
Loading

articles/app-service/tutorial-send-email.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ title: 'Tutorial: send email with Logic Apps'
33
description: Learn how to invoke business processes from your App Service app. Send emails, tweets, and Facebook posts, add to mailing lists, and much more.
44

55
ms.topic: tutorial
6-
ms.date: 04/06/2020
6+
ms.date: 04/08/2020
77
ms.custom: mvc
88
---
99

1010
# Tutorial: Send email and invoke other business processes from App Service
1111

12-
In this tutorial, you learn how to integrate your App Service app with the business processes you need. This is a common to web app scenarios, such as:
12+
In this tutorial, you learn how to integrate your App Service app with your business processes. This is common to web app scenarios, such as:
1313

1414
- Send confirmation email for a transaction
1515
- Add user to Facebook group
1616
- Connect to third-party systems like SAP, SalesForce, etc.
1717
- Exchange standard B2B messages
1818

19-
In this tutorial, you send emails from your App Service app using Gmail using [Azure Logic Apps](../logic-apps/logic-apps-overview.md). There are other ways to send emails from a web app, such as SMTP configuration provided by your language framework. However, Logic Apps brings a lot more power to your App Service app without adding complexity to your code. Logic Apps provides a simple configuration interface for the most popular business integrations, and your app can call them anytime with an HTTP request.
19+
In this tutorial, you send emails with Gmail from your App Service app by using [Azure Logic Apps](../logic-apps/logic-apps-overview.md). There are other ways to send emails from a web app, such as SMTP configuration provided by your language framework. However, Logic Apps brings a lot more power to your App Service app without adding complexity to your code. Logic Apps provides a simple configuration interface for the most popular business integrations, and your app can call them anytime with an HTTP request.
2020

2121
## Prerequisite
2222

@@ -71,9 +71,9 @@ Deploy an app with the language framework of your choice to App Service. To foll
7171
The schema is now generated for the request data you want. In practice, you can just capture the actual request data your application code generates and let Azure generate the JSON schema for you.
7272
1. At the top of the Logic Apps Designer, select **Save**.
7373

74-
You can now see the URL of your HTTP request trigger.
74+
You can now see the URL of your HTTP request trigger. Select the copy icon to copy it for later use.
7575

76-
![](./media/tutorial-send-email/generate-schema-with-payload.png)
76+
![](./media/tutorial-send-email/http-request-url.png)
7777

7878
This HTTP request definition is a trigger to anything you want to do in this logic app, be it Gmail or anything else. Later you will invoke this URL in your App Service app. For more information on the request trigger, see the [HTTP request/response reference](../connectors/connectors-native-reqres.md).
7979

@@ -121,7 +121,9 @@ Deploy an app with the language framework of your choice to App Service. To foll
121121

122122
## Add HTTP request code to app
123123

124-
Make sure you have copied the URL of the HTTP request trigger from earlier. First, create an app setting in your App Service app. In the [Cloud Shell](https://shell.azure.com), you can do it with the following command (replace *\<app-name>*, *\<resource-group-name>*, and *\<logic-app-url>*):
124+
Make sure you have copied the URL of the HTTP request trigger from earlier. Because it contains sensitive information, it's best practice that you don't put it into the code directly. With App Service, you can reference it as an environment variable instead, using app settings.
125+
126+
In the [Cloud Shell](https://shell.azure.com), create the app setting with the following command (replace *\<app-name>*, *\<resource-group-name>*, and *\<logic-app-url>*):
125127

126128
```azurecli-interactive
127129
az webapp config appsettings set --name <app-name> --resource-group <resource-group-name> --settings LOGIC_APP_URL="<your-logic-app-url>"

0 commit comments

Comments
 (0)