Skip to content
This repository was archived by the owner on Jan 22, 2021. It is now read-only.

Commit 69d6b0e

Browse files
authored
Update README on MailComposer attachments
1 parent 51d982f commit 69d6b0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,13 @@ Please inspect the provided sample code for details.
113113
cc: 'Name <[email protected]>', // Optional.
114114
bcc: 'Name <[email protected]>', // Optional.
115115
data: {}, // Optional. Render your email with a data object.
116-
attachments: [] // Optional. Attach files using a mailcomposer format, as an array of objects. Read more here: http://docs.meteor.com/#/full/email_send and here: https://github.com/nodemailer/mailcomposer#attachments
116+
attachments: [] // Optional. Attach files using a mailcomposer format, as an array of objects.
117+
// Read more here: http://docs.meteor.com/#/full/email_send and here: https://github.com/nodemailer/mailcomposer/blob/7c0422b2de2dc61a60ba27cfa3353472f662aeb5/README.md#add-attachments
117118
}
118119
```
119120

121+
*Note:* The official MailComposer README section on Attachment is apparently incorrect, as documented in [#69](https://github.com/lookback/meteor-emails/issues/69), or Meteor's `Email` is using an outdated version (probably the latter). So use `fileName`, `filePath`, etc. instead of `filename`, `path`, etc. when sending attachment objects.
122+
120123
## Usage
121124

122125
### Setting up templates

0 commit comments

Comments
 (0)