Skip to content

can-cc/mail-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEMO USE

go build main.go

./main

fill the domain, mailgun api and recipient in main.go

Example

./main \
-mailgun-api-key="xxxx" \
-domain="xxx.xx.com" \
-noreply="Tim <robot@xxx.xx.com>" \
-recipient="target@xxx.xx.com" \
-attachment-path="/xx/xx" \
-subject="Hello, I am sender" \
-body="You are good boy. right?"