This is fine if this is a valid e-mail address. For example, if your real e-mail is [email protected], your host should pass the email on for delivery. It will probably send your mail as long as yourdomain.com is setup to send and receive mail, even if wordpress is not a valid mail box. But if you set you real email as the From: address and it’s something like [email protected], the mail may not send because gmail.com is not a domain handled by the mail server.