wip
This commit is contained in:
7
smtp/utils.go
Normal file
7
smtp/utils.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package smtp
|
||||
|
||||
import "strings"
|
||||
|
||||
func Domain(email string) string {
|
||||
return email[strings.LastIndex(email, "@")+1:]
|
||||
}
|
||||
Reference in New Issue
Block a user