In tigase-extras in mailer package we use InternetAddress.parse but it allows malformed emails to be entered (even in strict mode), which causes exceptions while trying to send messages to them. For example it considers https://jmp.chat/sp1a/register2/?number=%2…&city=… as valid...
In tigase-extras in mailer package we use
InternetAddress.parse
but it allows malformed emails to be entered (even in strict mode), which causes exceptions while trying to send messages to them. For example it considershttps://jmp.chat/sp1a/register2/?number=%2…&city=…
as valid...