Same as "what the hell" or "what the heck." Hugely popular in Britain. Hay is not a cuss like hell, its more on the level of heck. negative connotation.
What the Hay?
What is wrong with you?!
What the Hay are you doing?!
Die Mails werden von firstname.lastname@example.org versendet. Wir versenden keine Spammails.