Send certificate to your meetup or event participant
All configuration is under config.toml
file.
To use testing mode change enable
variable to true
, for production change it to false
[app.dummy]
enable=true
target="[email protected]"
Change credentials in config.toml
file to your SMTP server
[app.email]
host="smtp.example.com"
port=587
username="[email protected]"
password="password"
$ go build -o accent
$ ./accent -dummy=false -file=source.csv -send=true
dummy
has two value, true/false. Whenever the value is false, it will send to [email protected]. You can change the target on the code and rebuild the binary. Use this dummy option to check the email which will be sent to participant.file
is the data input, please checkdummy.csv
file to see the format file.send
if the value is true, it will send the certificate.
There is two template in this application:
- Email template
email.html
- create your own html template. - Certificate template
template.png
- design your own template.