I can get my fields and form setup in a Drupal page just fine. I am sending it to a "sendemail.php", which contains the email address, gathers the form data and emails it out.
But how do I put the sendemail.php into Drupal?

My thought was to launch it in a popup, but I really don't want to do that. I'd like to have it in-line with the rest of everything else so it looks clean. Thanks!

Comments

vm’s picture

try using the php input format and a php include to pull the file into a page content type.

nevets’s picture

You might also want to consider using drupal_mail() to send the email.

zac-2’s picture

I actually do not see a php input. My options are Filtered or Full HTML.
Is that a module I need to install or something?

vm’s picture

php filter is included with core and needs to be enabled in adminsiter -> modules

zac-2’s picture

That's it. Thanks!