Compare commits
2 Commits
2211488f9a
...
3de25244fb
Author | SHA1 | Date |
---|---|---|
|
3de25244fb | |
|
1a9f605208 |
22
main.go
22
main.go
|
@ -487,10 +487,10 @@ func main() {
|
|||
Run: func(cmd *cobra.Command, args []string) {
|
||||
fmt.Printf(`Instructions:
|
||||
1. Create an email file
|
||||
* Name it whatever you want. Markdown is expected
|
||||
* Any newlines at the start or end of the file will be removed
|
||||
* The first line of the file will be used as {{ subject }} in the postmark template. It must start with the # symbol
|
||||
* The rest of the file will be used as {{{ content_body }}}
|
||||
* Call it whatever you want. Markdown format is expected
|
||||
* Newlines at the beginning and end will be trimmed
|
||||
* The first line is your email subject. It MUST start with the # symbol
|
||||
* The rest of the file is your email's body
|
||||
|
||||
2. See who's subscribed
|
||||
* ./meetupinvite2000 dump
|
||||
|
@ -499,15 +499,15 @@ func main() {
|
|||
|
||||
3. Do a test run
|
||||
* ./meetupinvite2000 test [email file]
|
||||
* You must send a test email before blasting it to everyone (update config.toml to change test recipient)
|
||||
* If you modify the email file after testing, you must test again. Otherwise MeetupInvite2000 will complain
|
||||
* You must send a test before blasting to everyone (please update config.toml to change test recipient)
|
||||
* If you modify the email after testing, you must test again. Otherwise we will complain
|
||||
|
||||
4. Start blasting!
|
||||
* ./meetupinvite2000 blast [email file]
|
||||
* Will batch send your invite using our Email API (Postmark)
|
||||
* Will produce a .track file that will list all email addresses that we attempted to send to
|
||||
* In case of error, you can blast again. All emails listed in the .track file will be skipped
|
||||
* Will produce a .log file with information received back from Postmark
|
||||
* Batch sends your invite using our Email API (Postmark)
|
||||
* Produces .track file that tracks email addresses we attempted to send to
|
||||
* Produces .log file with information received back from Postmark
|
||||
* In case of errors, you can always blast again. Addresses already in .track file will be skipped
|
||||
`)
|
||||
},
|
||||
}
|
||||
|
@ -529,7 +529,7 @@ func main() {
|
|||
indexStr = strings.Repeat(" ", maxIndexWidth-len(indexStr)) + indexStr // Right-align the index
|
||||
fmt.Printf("%s. \033[1m%s\033[0m\n", indexStr, email)
|
||||
}
|
||||
fmt.Printf("\nMailing list grows automatically as more subscribe at \033[1mhandmadecities.com/meetups\033[0m\n")
|
||||
fmt.Printf("\nMailing list grows automatically as more subscribe at \033[1mhandmadecities.com/meetups/%s\033[0m\n", config.Postmark.MessageStream)
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue