your message .. friends email .. SEND –> How?

I have this form:

Your name:
Your friends name:
Your friends email:
[ Send ]

Onclick I want this to happen
[Your friends email] receives in his inbox:

Dear [Your friends name]
[Your name] invited you to ect.

Can anyone point me in the right direction?

Thanks