Skip to content

Commit

Permalink
Finalized Bulk email example
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaMatta98 committed Feb 19, 2024
1 parent 78b0e65 commit be25c60
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,15 @@ The following example accomplishes the same function as the [single email substi
> _Note that variables are evaluated separately for each row entry and can be left blank if not needed._
> _Also note that field names for substitutions can be left empty if not needed. For example, the Name and TempCode header are not required if values are not passed._
Take this as an example email file saved within `./path/to/file.csv`:

```csv
DeliveryAddress,Subject,RelativeEmailTemplatePath,Attachment1Path,Attachment1InlineContentId,Name,TempCode
minamatta98@gmail.com,Email Template Tests,./templates/replacement_test.html,./example/send_mail_7590.png,2335,Mina,123456
```

Run the following cli command from the shell:

```bash
email-sender bulk-email --csv-file "./path/to/file.csv"
```

0 comments on commit be25c60

Please sign in to comment.