parse-community / parse-server-api-mail-adapter

API Mail Adapter for Parse Server
MIT License
27 stars 18 forks source link

Fix send email without template #26

Closed mtrezza closed 3 years ago

mtrezza commented 3 years ago

New Pull Request Checklist

Issue Description

Sending an email in Cloud Code via Parse.sendEmail() currently only works using an email template. It does not work with specifying the email content via parameters subject, text, html directly.

Related issue: #25

Approach

Allow sending email without template.

TODOs before merging

codecov[bot] commented 3 years ago

Codecov Report

Merging #26 (a54e918) into main (e487dcf) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          502       515   +13     
  Branches        40        41    +1     
=========================================
+ Hits           502       515   +13     
Impacted Files Coverage Δ
spec/ApiMailAdapter.spec.js 100.00% <100.00%> (ø)
src/ApiMailAdapter.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e487dcf...a54e918. Read the comment docs.