|
|
|
|
![]() ![]() |
Oct 13 2005, 10:16 PM
Post
#1
|
|
|
The Ethical Hacker ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,138 Joined: 27-May 05 From: Portugal (Europe) Member No.: 7,566 |
For sometime now that my contact form (php and flash) doesn't send me an email to the configured email adress in the script.
I Use the adesformmail wich is in flash mx and php only. I Think the problem is with the server configuration, but, i could be wrong. This is the source code of the contact.php and form.php : - Form.php : <html> <head> <title>Contact</title> </head> <body> <?PHP $to = "my email adress"; $msg .= "This message has been sent from your Contact Form\n\n"; $msg .= "Name: " . $HTTP_POST_VARS["name"] . "\n"; $msg .= "Email: " . $HTTP_POST_VARS["email"] . "\n"; $msg .= "Website: " . $HTTP_POST_VARS["website"] . "\n"; $msg .= "Address 1: " . $HTTP_POST_VARS["address1"] . "\n"; $msg .= "Address 2: " . $HTTP_POST_VARS["address2"] . "\n"; $msg .= "City: " . $HTTP_POST_VARS["city"] . "\n"; $msg .= "State: " . $HTTP_POST_VARS["state"] . "\n"; $msg .= "Zip Code: " . $HTTP_POST_VARS["zip"] . "\n"; $msg .= "Country: " . $HTTP_POST_VARS["country"] . "\n"; $msg .= "Message: " . $HTTP_POST_VARS["comment"] . "\n"; mail($to, $HTTP_POST_VARS["name"], $msg, "Contact Form\nReply-To:". $HTTP_POST_VARS["email"] . "\n"); ?> </body> </html> -------------- - Contact.php <html> <head> <title>AdesFormMail</title> <meta name="keywords" content="AdesFormMail Ades Design"> <meta name="description" content="AdesFormMail Ades Design"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor=white onload="window.resizeTo(500,700)"> <div align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="450" height="450"> <param name="movie" value="AdesFormMail.swf"> <param name="quality" value="high"> <embed src="AdesFormMail.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="450" height="450"></embed></object> </div> </body> </html> The AdesFormMail.swf doesn't have a problem, i think that is the php and the server configuration. Please help resolve this problem. Thanks for your support. |
|
|
|
Oct 14 2005, 02:03 AM
Post
#2
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 101 Joined: 13-July 05 Member No.: 9,357 |
I'm not a particularly talented coder, so I didn't check your code, but perhaps you're having a superficial problem. For example, maybe your mailbox is sorting the form mails as spam, because you get a lot of those e-mails from the same sender. I have my form mails sent to GMail, and it will 90% of the time sort it as spam, so just check that. Other than that, I'm sorry that I cannot help, but I am not a fluent coder.
|
|
|
|
Oct 14 2005, 02:40 AM
Post
#3
|
|
|
The Ethical Hacker ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,138 Joined: 27-May 05 From: Portugal (Europe) Member No.: 7,566 |
It's not sending at all, cause i also check the spam mail in my gmail account. But thanks.
|
|
|
|
Oct 14 2005, 07:05 AM
Post
#4
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 136 Joined: 8-October 05 Member No.: 12,657 |
you could try this link to get a little bit more info using the error codes and debugging options.
http://support.alphasoftware.com/alphafive...HTTP_POST().htm |
|
|
|
Oct 16 2005, 04:55 PM
Post
#5
|
|
|
The Ethical Hacker ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,138 Joined: 27-May 05 From: Portugal (Europe) Member No.: 7,566 |
The problem, niloc, is that the script was working fine untill a couple of weeks ago, and i've not changed the code, even because it's not my script, so, it's got to of the server configuration, don't you think?
|
|
|
|
Oct 17 2005, 02:52 AM
Post
#6
|
|
|
Trap Grand Marshal Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,183 Joined: 24-September 04 Member No.: 1,245 |
to get some codes of php mail ..
just go to sourceforge for that. copy that to your code then find the problem. -- guangdian |
|
|
|
Oct 21 2005, 04:20 PM
Post
#7
|
|
|
The Ethical Hacker ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,138 Joined: 27-May 05 From: Portugal (Europe) Member No.: 7,566 |
Well guys, i can't seem to resolve this situation with this script cause i don't know what's the server configuration, so i had to use another contact script, wich by the way is working fine.
If you want to see it: http://bestfreetemplates.trap17.com/contact.html Thanks guys, for your help. |
|
|
|
Oct 22 2005, 01:54 AM
Post
#8
|
|
|
Trap Grand Marshal Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,183 Joined: 24-September 04 Member No.: 1,245 |
i just don't know more about php scripts.
but you know i'm using the forum or cms project on my website of trap17. then it sent me the email normally. so that's not the server problem but your script problem i think. and you would just check the script or waiting for the one knew of that php script to help you. thank you guangdian |
|
|
|
Oct 22 2005, 08:58 AM
Post
#9
|
|
|
A smile is a golden drop of sunshine for one tiny moment. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 294 Joined: 6-March 05 From: I live near the Mouse on the Pacific Side in the US. Member No.: 4,188 |
I have noticed that occationally when a script has been run for a while it will corrupt over time. That is why it is a good idea to follow the above advice and check the script. Sometimes you have to make some adjustments. All websites have to be maintained at some level. Especially when a script is being used pretty regularly.
|