Mailform with mx + php

hey guys and girls,
i’m trying to create a mailform that can output certain variables into the body of the text.
==vars from flash==
clientName = cName
bodyMessage = messageVar
budget = budgetVar

== pop mail ==
body message = messageVar
client name = cName
budget = budgetVar

can someone help me out? many thanks.