When I put that same form on my personal server (which is hosted with gate.com) it works just fine and I receive the confirmation email and everything.
Can anyone tell me what's going on here? I read in Yahoo's documentation that they require all outgoing emails with PHP to be sent from an email address within your domain BUT I already have that setup.
I'm stumped...
Also, I've tried several other PHP forms I've made (one of them using a combination of Flash and PHP) and not a single one of them will work on this Yahoo hosting server but they ALL work on my gate.com server.
$contact_form_msg_sent = 'Thank you for the RSVP.';
$contact_form_msg_not_sent = 'Message not sent. Please try again.';
$contact_form_msg_invalid = 'Please, correct the fields marked in red';
function contact_form_post($name)
{
if (isset($_POST[$name])) return htmlentities($_POST[$name], ENT_COMPAT);
if (isset($_GET [$name])) return htmlentities($_GET [$name], ENT_COMPAT);
return '';
}
// ***** Send Mail *****
if (count($_POST))
{
if (get_magic_quotes_gpc() && !function_exists('strip_slashes_deep'))
{
function strip_slashes_deep($value)
{
if (is_array($value)) return array_map('strip_slashes_deep', $value);
return stripslashes($value);
}
I worked on a site once that was hosted by Yahoo Small Business.... I remember they had to specify the "sender" email address somehwere in the control panel, which also had to be coming from the hosted domain name. This setting was in addition to the script's reference to the . (In addition to the mail script I wrote for them).
I don't have Control Panel access for Yahoo for any sites at the moment to cite specific examples, but I do remember that in order to get it working, we had to have it being sent "to" AND "from" a domain related email address. It would fail if we would try and CC another external email address (such as the visitor filling out the form).
Im using GoDaddy as my hosting server and am trying to get my webform to send correctly. Ive recently built my first website, Gibbonspi.com which is a family business. When trying to retrieve credit card info about our clients when the submit button is clicked I get an email but from this address detectiveserv@p3nlhssl028.shr.prod.p...reserv er.net rather than the one typed into my text field box. I also get all the subjects from top to bottom such as Name on Card and Security code but nothing that has been typed into the text fields show up in the emails. I have checked the script numerous amounts of times and am starting to think its not me it has something to do with the hosting.... here is the script
Like i said the only things that do not show up in the email is the correct FROM address or any of the text field answers..... Ive tried everything that I know of can anyone please help... I use Dreamweaver CS4....
Thanks
Last edited by wirehopper; 11-18-09 at 10:15 PM.
Reason: PHP tags
Yeah, we looked into paypal but the only problem is we never know the transaction amount until we talk to the client. There is no SET service fee it all depends on the time we spend on each case and we use a pay first get results later. So to use paypal we think it would just be a mess whereas if we have the clients credit card info. on file we can charge without the client having to go through different payment periods. We have a business account through Bank of America and thought that what we have would be the easiest way to go about things. Again, this is my first walk in the park so any and all information I get will be very useful on this subject. As far as the script goes, does anyone know why when the submit button is clicked with all text fields filled I get an email from detectiveserv@p3nlhssl028.shr.prod.p...reserv er.net rather than the clients input address and no text field info. is presented in the Email?
So... you don't negotiate with the client how much you're going to charge them?
You can use some fairly simple scripts that allow the client to type in an amount to pay, and then use Paypal to process that amount the client types in. (You don't have to "preset" values from within Paypal).