Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 09:07:44 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155527 Posts in 21712 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Contact Form not sending mails  (Read 728 times)
smartcard

Offline Offline

Posts: 19


« on: August 03, 2009, 02:59:10 PM »

I am using the following form to "Contact Us" that supposed to send mails once some one fill the form, but I am not receiving the mails.  How to fix it?
Quote
Name:      Form
Type:     Page
Author:     Ryan Djurovich & Rudolph Lartey
Version:     2.6
Designed For:     WebsiteBaker 2.6.x
Logged
deb01

Offline Offline

Posts: 75


« Reply #1 on: August 04, 2009, 02:33:17 PM »

without having deeper information about (server) configuration and what is wanted in particular it surely is impossible to give an elaborate answer.
Logged
smartcard

Offline Offline

Posts: 19


« Reply #2 on: August 04, 2009, 02:40:57 PM »

I need a form, where the visitors of my website will type with their name, company, email and a message.  I want this message to be send to my email address.

How to achieve it?
Logged
deb01

Offline Offline

Posts: 75


« Reply #3 on: August 04, 2009, 02:45:08 PM »

with the form-module. This is correct. If it is not sending you have configured something wrong or something in wrong on your ISP's end.
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #4 on: August 04, 2009, 03:33:25 PM »

http://help.websitebaker.org/pages/en/basic-docu/working-with-wb/page-administration/modify-pages/form.php

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

smartcard

Offline Offline

Posts: 19


« Reply #5 on: September 06, 2009, 10:52:11 AM »

Hello, still I have the problem - When a form is submitted, I can see it archived in the admin area, but the email is not send to me.  Please look at the attached screen shot of the admin where I have put the correct email address, but still not receiving the submissions to my email.

Please help.
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #6 on: September 06, 2009, 11:02:31 AM »

Check on the Server (Logs) if the mail is being sent. If yes, check on the receiving Server if the Mail is received. I wouldn't be to surprised if the receiving Server does not accept the message, But please check first.

If you don't have access to the logs or can not read them, please ask your provider to do it for you.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

smartcard

Offline Offline

Posts: 19


« Reply #7 on: September 07, 2009, 10:47:32 AM »

I contacted my host, they did check the log and other parameters and no issue with the host. 

They also tried to send test mails using the following script and it works well, but still the contact form is not working:

Quote
<?php
$to = "me@gmail.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you to gmail?";
if (mail($to, $subject, $body)) {
  echo("<p>Message successfully sent!</p>");
 } else {
  echo("<p>Message delivery failed...</p>");
 }
?>
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #8 on: September 07, 2009, 03:41:00 PM »

Then it must be he receiving Server discarding the message. Try to send the mails to a different E-Mail address (on a different server).

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

smartcard

Offline Offline

Posts: 19


« Reply #9 on: September 07, 2009, 04:02:20 PM »

Then it must be he receiving Server discarding the message. Try to send the mails to a different E-Mail address (on a different server).

cheers

Klaus

Tried sending to other email addresses too, but unfortunately still no success.
Logged
instantflorian
Betatester
*
Offline Offline

Posts: 804



WWW
« Reply #10 on: September 07, 2009, 05:01:51 PM »

Hi,

Some webhosters require to set the -f attribute in the mail command. So maybe it works if you put a php.ini via PHP in all the directories of your site where you are using forms. Wirite a line in the php.ini like this:

Quote
sendmail_path = /usr/local/sbin/sendmail -t -i -f existingadress@yourdomain.foo
(Of course you have to replace existingadress@yourdomain.foo with your real adress)

I had this problem some time ago with the german hosting company "Goneo".
Logged
smartcard

Offline Offline

Posts: 19


« Reply #11 on: September 08, 2009, 09:54:23 AM »

Fixed the issue, it was a simple ignorance.

In the form settings Email From: field was set to "Custom"  I changed it to "Field: Email" and it works well now.

Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!