I am new to Joomla and I am struggling to get a form going. I created the form using the editor of an Extra Field. Now in the form I am calling the action php file:
<form action="email1.php" method="post" class="form-horizontal">
I would advice you to create a folder on the main directory of your website to collect your own datas/pages without messing joomla original file. Let's call it "myfolder" and copy email1.php in it.
Now you can go to 'www.mysite.com/myfolder/email1.php' and expect some kind of result.
Now modify your code to avoid that mysterious relative path and use this instead :
<form action="/myfolder/email1.php" method="post" class="form-horizontal">
This should do the trick.
Edit : this is a generic answer, not joomla specific.