Skip to content

Commit 25466f8

Browse files
fix(srvless): slsfw version (#4999)
1 parent 1612828 commit 25466f8

File tree

1 file changed

+2
-2
lines changed
  • tutorials/send-emails-tem-serverless-framework

1 file changed

+2
-2
lines changed

tutorials/send-emails-tem-serverless-framework/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ In this tutorial, you will learn how to send emails with [Transactional Email](/
3030
1. Open a terminal and paste the following command to install the Serverless Framework CLI on your local machine:
3131

3232
```
33-
npm install serverless -g
33+
npm install serverless@3.41 -g
3434
```
3535
2. Clone the GitHub repository containing the configuration files needed to deploy your function:
3636
```
@@ -91,4 +91,4 @@ The `go-mail` directory you have cloned contains a `.env` file in which you will
9191
8. Open your terminal and paste the following command to trigger your function. Make sure that you replace `$FUNCTION_DOMAIN` with your function's domain, `$FUNCTION_TOKEN` with the token you have generated, and `$MAIL_TO` with your recipient's email address. Optionally, you can also edit the `"subject"` and `"message"` fields.
9292
```
9393
curl -v -X POST https://$FUNCTION_DOMAIN -H "X-Auth-Token: $FUNCTION_TOKEN" --data '{"to": "$MAILTO", "subject": "this is a test following the tem and serverless tuto", "message": "very very long message using the api"}'
94-
```
94+
```

0 commit comments

Comments
 (0)