Create Main

Hi, i want my php to send an email to my gmail if i have submitted my form. Could anyone help me out a little bit by giving some hints? Cheers :)