This repository was archived by the owner on Oct 24, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ There are scenarios when you have your own transport set up, be it an SDK
102102for your mailing service or something else. This is where ` customTransport `
103103comes in. If you set this function all sending events will be passed to it
104104(after ` hookSend ` is run) with an object of the options passed into ` send `
105- function with addition of ` settings ` key which will pass in package settings
105+ function with addition of ` packageSettings ` key which will pass in package settings
106106set in your app settings (if any). It is up to you what you do in that function
107107as it will override the original sending function.
108108
@@ -111,7 +111,7 @@ Example:
111111import { Email } from ' meteor/email'
112112
113113Email .customTransport = (options ) => {
114- // `options.settings ` are settings from `Meteor.settings.packages.email`
114+ // `options.packageSettings ` are settings from `Meteor.settings.packages.email`
115115 // The rest of the options are from Email.send options
116116 customApi .send ({ from: options .packageSettings .fromOverride || options .from , to: options .to , message: options .html || options .text });
117117}
You can’t perform that action at this time.
0 commit comments