contact us instructions
It does not appear that my contact form is working. I was assuming that i would get an e-mail sent to the address that I originally set my site up with.
contactus.php
Thanks
It does not appear that my contact form is working. I was assuming that i would get an e-mail sent to the address that I originally set my site up with.
contactus.php
Thanks
who is your hosting company?
in the settings, what did you enter for the SMTP Server?
It is forwarding to the thankyou.php page so it is trying to pass the email to the smtp server.
Either the smtp server address is not correct, or there is a problem on the smtp server end that is preventing the email from being relayed to the recipient.
Thanks, I will look into my smpt server. I am with godaddy.com
Lisa
GoDaddy is notoriously troublesome with sending emails.
for the smtp server address, use:
smtp.secureserver.net
PowerStore uses the php mail() function for sending the email. Windows hosting packages on godaddy do not support php mail(), you will need to ensure you are using linux hosting, and even then, the php mail() is only available with php 5 on GoDaddy, so make sure your site is configured to use php 5.
I spoke with godaddy here is what I discovered:
1. My form mailer info is correct.
2. I have php 5 running Linux
3. They asked me if I need to mofify the form mailer to reflect relay-hosting.secureserver.net
can you advise me as to how I should proceed and what I need to modify?
Below is an additional message from godaddy
"What email or relay server should I use in my PHP code?
If you use the mail() function in your PHP, you do not need to specify an outgoing mail server. If you are using some other method besides mail() in your PHP code, use relay-hosting.secureserver.net for your relay server.
NOTE: A maximum of 1000 emails per day are allowed through our relay servers."
I spoke with godaddy here is what I discovered:
1. My form mailer info is correct.
2. I have php 5 running Linux
3. They asked me if I need to mofify the form mailer to reflect relay-hosting.secureserver.net
can you advise me as to how I should proceed and what I need to modify?
Below is an additional message from godaddy
"What email or relay server should I use in my PHP code?
If you use the mail() function in your PHP, you do not need to specify an outgoing mail server. If you are using some other method besides mail() in your PHP code, use relay-hosting.secureserver.net for your relay server.
NOTE: A maximum of 1000 emails per day are allowed through our relay servers."
__________________
Regards,
Lisa E. Segal
Last edited by segalmedia367166; 01-08-2011 at 01:51 AM. Reason: added info
In the power store settings tab, go to the site settings section to set the Email server, it looks like they are sugesting relay-hosting.secureserver.net as the email server.
"In the power store settings tab, go to the site settings section to set the Email server, it looks like they are sugesting relay-hosting.secureserver.net as the email server. "
Please clarify:
I have nothing entered in the site settings, email server box. What are you suggesting I type in that space? Would I enter in the words "relay-hosting.secureserver.net" (no quotation marks)?
I entered relay-hosting.secureserver.net in the Site Settings, email server section and I am not receiving my test messages. Where do I find the settings that direct e-mails (ie where would one enter the e-mail address to send contact submissions to)? Perhaps I did not enter that info correctly.
I went to contact form emails section and entered in my e-mail address. I closed the tab, reloaded my contact page with no luck.
Also, should I see a "thankyou.php" page once the contact form is submitted? I do not see this. Once I fill out the form I am sent back to the original blank contactus.php page
Thanks
well, yes, you should see the thankyou.php page. if it is not directing to the thank you page, then either there is an error occurring, or the email code is not triggering.
try changing the following code in the contact us page:
if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))) {
to:
if (isset($_POST["Contact_Name"])) {
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.