mail

package
v0.20.0-alpha8 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2016 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mail is a generated protocol buffer package.

It is generated from these files:

google.golang.org/appengine/internal/mail/mail_service.proto

It has these top-level messages:

MailServiceError
MailAttachment
MailHeader
MailMessage

Index

Constants

This section is empty.

Variables

View Source
var MailServiceError_ErrorCode_name = map[int32]string{
	0: "OK",
	1: "INTERNAL_ERROR",
	2: "BAD_REQUEST",
	3: "UNAUTHORIZED_SENDER",
	4: "INVALID_ATTACHMENT_TYPE",
	5: "INVALID_HEADER_NAME",
	6: "INVALID_CONTENT_ID",
}
View Source
var MailServiceError_ErrorCode_value = map[string]int32{
	"OK":                      0,
	"INTERNAL_ERROR":          1,
	"BAD_REQUEST":             2,
	"UNAUTHORIZED_SENDER":     3,
	"INVALID_ATTACHMENT_TYPE": 4,
	"INVALID_HEADER_NAME":     5,
	"INVALID_CONTENT_ID":      6,
}

Functions

This section is empty.

Types

type MailAttachment

type MailAttachment struct {
	FileName         *string `protobuf:"bytes,1,req,name=FileName" json:"FileName,omitempty"`
	Data             []byte  `protobuf:"bytes,2,req,name=Data" json:"Data,omitempty"`
	ContentID        *string `protobuf:"bytes,3,opt,name=ContentID" json:"ContentID,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*MailAttachment) GetContentID

func (m *MailAttachment) GetContentID() string

func (*MailAttachment) GetData

func (m *MailAttachment) GetData() []byte

func (*MailAttachment) GetFileName

func (m *MailAttachment) GetFileName() string

func (*MailAttachment) ProtoMessage

func (*MailAttachment) ProtoMessage()

func (*MailAttachment) Reset

func (m *MailAttachment) Reset()

func (*MailAttachment) String

func (m *MailAttachment) String() string

type MailHeader

type MailHeader struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Value            *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*MailHeader) GetName

func (m *MailHeader) GetName() string

func (*MailHeader) GetValue

func (m *MailHeader) GetValue() string

func (*MailHeader) ProtoMessage

func (*MailHeader) ProtoMessage()

func (*MailHeader) Reset

func (m *MailHeader) Reset()

func (*MailHeader) String

func (m *MailHeader) String() string

type MailMessage

type MailMessage struct {
	Sender           *string           `protobuf:"bytes,1,req,name=Sender" json:"Sender,omitempty"`
	ReplyTo          *string           `protobuf:"bytes,2,opt,name=ReplyTo" json:"ReplyTo,omitempty"`
	To               []string          `protobuf:"bytes,3,rep,name=To" json:"To,omitempty"`
	Cc               []string          `protobuf:"bytes,4,rep,name=Cc" json:"Cc,omitempty"`
	Bcc              []string          `protobuf:"bytes,5,rep,name=Bcc" json:"Bcc,omitempty"`
	Subject          *string           `protobuf:"bytes,6,req,name=Subject" json:"Subject,omitempty"`
	TextBody         *string           `protobuf:"bytes,7,opt,name=TextBody" json:"TextBody,omitempty"`
	HtmlBody         *string           `protobuf:"bytes,8,opt,name=HtmlBody" json:"HtmlBody,omitempty"`
	Attachment       []*MailAttachment `protobuf:"bytes,9,rep,name=Attachment" json:"Attachment,omitempty"`
	Header           []*MailHeader     `protobuf:"bytes,10,rep,name=Header" json:"Header,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*MailMessage) GetAttachment

func (m *MailMessage) GetAttachment() []*MailAttachment

func (*MailMessage) GetBcc

func (m *MailMessage) GetBcc() []string

func (*MailMessage) GetCc

func (m *MailMessage) GetCc() []string

func (*MailMessage) GetHeader

func (m *MailMessage) GetHeader() []*MailHeader

func (*MailMessage) GetHtmlBody

func (m *MailMessage) GetHtmlBody() string

func (*MailMessage) GetReplyTo

func (m *MailMessage) GetReplyTo() string

func (*MailMessage) GetSender

func (m *MailMessage) GetSender() string

func (*MailMessage) GetSubject

func (m *MailMessage) GetSubject() string

func (*MailMessage) GetTextBody

func (m *MailMessage) GetTextBody() string

func (*MailMessage) GetTo

func (m *MailMessage) GetTo() []string

func (*MailMessage) ProtoMessage

func (*MailMessage) ProtoMessage()

func (*MailMessage) Reset

func (m *MailMessage) Reset()

func (*MailMessage) String

func (m *MailMessage) String() string

type MailServiceError

type MailServiceError struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*MailServiceError) ProtoMessage

func (*MailServiceError) ProtoMessage()

func (*MailServiceError) Reset

func (m *MailServiceError) Reset()

func (*MailServiceError) String

func (m *MailServiceError) String() string

type MailServiceError_ErrorCode

type MailServiceError_ErrorCode int32
const (
	MailServiceError_OK                      MailServiceError_ErrorCode = 0
	MailServiceError_INTERNAL_ERROR          MailServiceError_ErrorCode = 1
	MailServiceError_BAD_REQUEST             MailServiceError_ErrorCode = 2
	MailServiceError_UNAUTHORIZED_SENDER     MailServiceError_ErrorCode = 3
	MailServiceError_INVALID_ATTACHMENT_TYPE MailServiceError_ErrorCode = 4
	MailServiceError_INVALID_HEADER_NAME     MailServiceError_ErrorCode = 5
	MailServiceError_INVALID_CONTENT_ID      MailServiceError_ErrorCode = 6
)

func (MailServiceError_ErrorCode) Enum

func (MailServiceError_ErrorCode) String

func (*MailServiceError_ErrorCode) UnmarshalJSON

func (x *MailServiceError_ErrorCode) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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