Skip to content

A tool to send bulk postcards from local images + random dog facts using https://mailform.io

License

Notifications You must be signed in to change notification settings

circa10a/pinkys-birthday-mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pinkys-birthday-mailer

A tool to send bulk postcards from local images + random dog facts using https://mailform.io

I used this to mail 125 postcards to a friend of mine that included a bunch of embarrassing pictures of me and some random dog facts for the messages (cause she ❤️ 's 🐕's). The order ended up costing $217. Hilarious.

Go Report Card Build Status

alt text

Usage

Simply drop a bunch of images in the ./images directory or update imageDirectory key in the config.

# requires local ./config.yaml
make run

Config

Here's a sample config:

config:
  apiToken: '' # MAILFORM_API_TOKEN environment variable takes precedence if set
  count: 10
  dryrun: false
  imageDirectory: ./images
  outputDirectory: ./output
  mail:
    to:
      name: redacted
      address: redacted
      city: Seattle
      state: WA
      postalCode: 00000
      country: US
    from:
      name: redacted
      address: redacted
      city: Seattle
      state: WA
      postalCode: 00000
      country: US
    service: USPS_POSTCARD

About

A tool to send bulk postcards from local images + random dog facts using https://mailform.io

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published