Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1015972 // isValidEmailAddress

JavaX fragment (include)

!include once #1015973 // JavaMail

static bool isValidEmailAddress(S s) {
  try {
    new InternetAddress(s).validate();
    true;
  } catch (AddressException ex) {
    false;
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015972
Snippet name: isValidEmailAddress
Eternal ID of this version: #1015972/2
Text MD5: b8da945e105cb353b920cc381687fe05
Author: stefan
Category: javax / mail
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-02 14:14:13
Source code size: 191 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 406 / 452
Version history: 1 change(s)
Referenced in: [show references]