How to send a php file as an email
I have a dynamically created html email that can be viewed via a browser (ie: email.php?e_camp=2&e_t_id=1). The parameters tell the page what content to display in the email and the colors to use. I'd like to send this "page" as an html email. I've tried the "from file" method on universal email and it seems it doesn't accept php files but only html. Is this true? Is there a way to achieve this?
My end product is an email builder that a user builds their email via mySQL database and their template as well. Then I want Universal email to send this email out.
I don't want to send a php page, but rather use the dynamic features to create the html to be sent out. It requires repeating regions and other php, so simply inserting a few php variables is not what I'm looking for.