In the United States this is covered under section 941. 18 U.S.C. 1343 of the US criminal code.
Wire fraud is an electronic communication that is meant to elicit further criminal acts. This can come in the form of an email or text. It can also involve the use of a telephone.
It is similar to mail fraud and treated accordingly. This is an expansion of that statute since it incorporates email.
According to the code, the following must be present.
Some examples:
Wire fraud covers digital communications whereas mail fraud requires the use of USPS or a private carrier.