Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterlong committed Jul 8, 2016
2 parents 5b3631c + 4989dc7 commit ef0ed68
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ sendSuccess := SimpleMailer.SendSingle(newOutgoing)
fmt.Println(sendSuccess)
// outputs true or false
```

####### This will replace {{USERNAME}} in your HTML template to 'gophers'

### Send Multiple Emails with Variables
```go
Expand Down Expand Up @@ -74,7 +74,7 @@ for _,successSend := range responses {

### Send Multiple Emails without Variables
```go
allEmails := []string{"info@socialeck.com", "djzebular@gmail.com", "hey@gmail.com"}
allEmails := []string{"info@emaildomain.com", "noreply@nodomain.com", "hey@gmail.com"}
bulkSend := BulkSend{Emails: allEmails, Subject: "Hello Bulk Sender", Template: "welcome.html"}

response := SimpleMailer.SendBulkEmails(bulkSend)
Expand Down Expand Up @@ -111,5 +111,27 @@ func main() {

### Google Gmail SMTP info
```go
SimpleMailer.SetSMTPInfo("smtp.gmail.com", "465", "<gmail email>", "<gmail apssword>", "<gmail email>", "./emails/")
SimpleMailer.SetSMTPInfo("smtp.gmail.com", "465", "<gmail email>", "<gmail password>", "Sender Name", "<gmail email>", "./emails/")
```

### Yahoo Mail SMTP info
```go
SimpleMailer.SetSMTPInfo("smtp.mail.yahoo.com", "465", "<yahoo email>", "<yahoo password>", "Sender Name", "<yahoo email>", "./emails/")
```

### Outlook Office 365 SMTP info
```go
SimpleMailer.SetSMTPInfo("smtp.office365.com", "587", "<outlook email>", "<outlook password>", "Sender Name", "<outlook email>", "./emails/")
```


### Awesome HTML Email Templates
https://github.com/leemunroe/responsive-html-email-template

https://github.com/mailgun/transactional-email-templates

https://github.com/mailchimp/email-blueprints

https://github.com/InterNations/antwort

https://github.com/g13nn/Email-Framework

0 comments on commit ef0ed68

Please sign in to comment.