Documentation
¶
Index ¶
- func GenerateOTP(maxDigits uint32) string
- func GenericSendMail(subject string, content string, toEmail string, userName string) error
- func SendDeletionMail(toEmail string, userID uint, userName string) error
- func SendForgotPasswordMail(toEmail string, userID uint, userName string) error
- func SendKickNotifToUser(toEmail string, userName string, teamName string) error
- func SendMeetingNotifToTeamMembers(toEmail []string, teamName string, meetingName string, meetingTime time.Time) error
- func SendRegistrationMail(subject string, content string, toEmail string, userID uint, userName string, ...) error
- func SendRequestNotifToTeamAdmins(toEmail []string, userName string, userEmail string, teamName string) error
- func SendRequestStatusNotifToUser(toEmail string, userName string, teamName string, status string) error
- type EmailAddress
- type RegistrationEmail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateOTP ¶
func GenericSendMail ¶
func SendForgotPasswordMail ¶
func SendKickNotifToUser ¶
SendKickNotifToUser
func SendMeetingNotifToTeamMembers ¶
func SendMeetingNotifToTeamMembers(toEmail []string, teamName string, meetingName string, meetingTime time.Time) error
send email to all team members about a new meeting
func SendRegistrationMail ¶
Types ¶
type EmailAddress ¶
type RegistrationEmail ¶
type RegistrationEmail struct { Subject string `json:"subject"` From EmailAddress `json:"from"` To []EmailAddress `json:"to"` Category string `json:"category"` Text string `json:"text"` }
Click to show internal directories.
Click to hide internal directories.