-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d836de
commit 398dff3
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,12 +66,12 @@ This will give you easy access to the SDK methods using `application` and `reque | |
app.get { req async in | ||
|
||
let emailBody = """ | ||
This is a sample body that supports **markdown**. Plain html is also supported. | ||
This is a sample body that supports **markdown**. HTML is also supported. | ||
""" | ||
|
||
try await indiePitcher.sendEmail( | ||
data: .init( | ||
to: "[email protected]", subject: "Hello from AWS Lambda!", body: emailBody, | ||
to: "[email protected]", subject: "Hello from Vapor!", body: emailBody, | ||
bodyFormat: .markdown)) | ||
|
||
return "ok" | ||
|