Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendEmail ¶
func SendEmail(subject string, emailTo SendEmailObject, emailFrom SendEmailObject, emailContent SendEmailContent) error
SendEmail is used to send email to certian parties
Types ¶
type MailerServer ¶
type MailerServer struct { }
MailerServer is class for welcome mail
func (*MailerServer) SendWelcomeMail ¶
func (s *MailerServer) SendWelcomeMail(ctx context.Context, request *pb.WelcomeMailRequest) (*pb.Response, error)
SendWelcomeMail is used to send welcome mail
type SendEmailContent ¶
type SendEmailContent struct {
// contains filtered or unexported fields
}
SendEmailContent is used to hold email Content (plain text and html)
type SendEmailObject ¶
type SendEmailObject struct {
// contains filtered or unexported fields
}
SendEmailObject is used to hold basic sender/receiver email structure
Click to show internal directories.
Click to hide internal directories.