There is a message

$message = ' <html> <head> <title>HTML email</title> </head> <body> <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"margin:0; padding:0;width:100%\"> <tr> <td> <img src=\'http://www.diciss.zz.mu/img/mail/1.png\' onmouseover=\'this.src=\"http://www.diciss.zz.mu/img/mail/1_.png\";\' onmouseout=\'this.src=\"http://www.diciss.zz.mu/img/mail/1.png\";\' /></td> </tr> <tr> </tr> </table> </body> </html>'; 

Is it possible to somehow add interactivity to the message onmousemove does not work

  • In fact, as far as I understand, the behavior in this case depends entirely on the capabilities and configuration of the program with which the contents of the letter are viewed. Often this so-called. "mail client". - aleksandr barakin
  • CSS will work with a high probability (hover), and JS - in 99% will not. - Sergey Snegirev

0