This commit is contained in:
Aine
2022-08-21 18:41:35 +03:00
commit c4b7a16e21
22 changed files with 1745 additions and 0 deletions

7
smtp/utils.go Normal file
View File

@@ -0,0 +1,7 @@
package smtp
import "strings"
func Domain(email string) string {
return email[strings.LastIndex(email, "@")+1:]
}