mss

package
v0.0.0-...-1960156 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

*

  • Copyright 2015 @ z3q.net.
  • name : doc
  • author : jarryliu
  • date : 2015-07-26 20:13
  • description :
  • history :

*

  • Copyright 2015 @ z3q.net.
  • name : label
  • author : jarryliu
  • date : 2015-07-27 09:28
  • description :
  • history :

*

  • Copyright 2015 @ z3q.net.
  • name : mail.go
  • author : jarryliu
  • date : 2015-07-26 20:14
  • description :
  • history :

Index

Constants

This section is empty.

Variables

View Source
var (
	EMAIL_SERVER         string = ""
	EMAIL_HOST           string = ""
	EMAIL_CREDENTIAL_USR        = ""
	EMAIL_CREDENTIAL_PWD        = ""
	EMAIL_FROM                  = ""
)

Functions

func SendMail

func SendMail(server, host, usr, pwd, from string, subject string, to []string, body []byte) error

func SendMailWithDefaultConfig

func SendMailWithDefaultConfig(subject string, to []string, body []byte) error

使用默认的配置发送邮件

func Transplate

func Transplate(c string, m map[string]string) string

翻译标签

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL