-
Problem with Email Form
On the contact page of my site, the email form does not seem to be working right.
viewable here: http://storage.googleapis.com/shyorange/contactus.html
When I fill out the form and click 'submit', it gives me this message: "The request's content type is not accepted on this URL."
Does this have something to do with the fact that it's hosted on Google Cloud, or is there maybe a fault in the code?
Here is the html of the form
<form name="htmlform" method="post" action="http://storage.googleapis.com/shyorange/">
<table width="450px">
</tr>
<tr>
<td valign="top">
<label for="first_name">First Name</label>
</td>
<td valign="top">
<input type="text" name="first_name" maxlength="50" size="30">
</td>
</tr>
<tr>
<td valign="top"">
<label for="last_name">Last Name</label>
</td>
<td valign="top">
<input type="text" name="last_name" maxlength="50" size="30">
</td>
</tr>
<tr>
<td valign="top">
<label for="email">Email Address</label>
</td>
<td valign="top">
<input type="text" name="email" maxlength="80" size="30">
</td>
<tr>
<td valign="top">
<label for="comments">Comment</label>
</td>
<td valign="top">
<textarea name="comments" maxlength="1000" cols="25" rows="6"></textarea>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:center">
<input type="submit" value="Submit">
</td>
</tr>
</table>
</form>
and this is the php file:
http://storage.googleapis.com/shyora..._form_send.php
-
It has its own API (https://cloud.google.com/storage/docs/json_api/), and there is not php server to run your code.
-
Thanks. Are you saying there is a way of doing it through the API?
-
I don't think so :/
API is for other purposes, I think, but you can check the link from my previous post.
-
Hi......
i think something be wrong in your email code. you need to check out your "Network Credential Username" and "Network Credential Password" is that right or not.
and check out validation on the form which is using in the form.