Forums

Cannot get any forms to submit or Debug

jmccann 25 Mar, 2008
Hi,

I cannot get any forms to work.

I have followed tutorials, copied and pasted forms but nothing gets posted.

I even have Debug set to "ON", but this doesn't display anything either.

My form code is the simple example:

Name: <input name="name" value="" type="text"><br />
E-mail: <input name="email" value="" type="text"><br />
<input name="submit" value="Submit" type="submit">

I have the following fileds completed:

Form Name: contact_us
Email Address(es): [email]jim.mccann@emcom.co.uk[/email]
Email Subject: WEb Enquiry
From Email: [email]info@tcmscotland.co.uk[/email]
From name: TCM Scotland
ReplyTo email: [email]info@tcmscotland.co.uk[/email]
In which format to send the results email: Fields Title
Debug On
MYSQL Statement ? ENGINE or TYPE : ENGINE

Various live email address, none of which are blocked have been tried.
I have been trying to get it working for so long that I am just going around in circles.

Has anyone any ideas why I can get forms to submit?

I am using ChronoForm 2.5 J1.5 RC2
Joomla 1.5.2
PHP 4.4.8

Sample form can be viewed at http://www.tcmscotland.co.uk/contact-us
GreyHead 25 Mar, 2008
Hi jmccann,

Please remove the Redirect URL so that the Debug information shows up.

The form appears to be submitting OK as it is redirecting to your 'Ta' page. Is the problem that you are not receiving emails?

Bob
jmccann 26 Mar, 2008
Hi Bob,

You're correct, I cannot get emails submitted.

I've tried varios addresses with no luck.

I didn't realise having a redirect URL nullified the debug.

When I checck debug, the message displays that emails have been sent, although nothing is revived.

For testing, I've change recipient to your email address to check if you receive.
GreyHead 26 Mar, 2008
Hi jmccann,

If the debug says 'Email sent' then Joomla has successfully passed an email to whatever mailserver your site is set up to use. It's being lost somewhere there or thereafter.

Various things could happen - the commonest is emails going to spam folders; after that it's Return Email addresses not being recognised by the ISP.

Bob
jmccann 26 Mar, 2008
Hi Bob,

Just For Information.....

I've got the script working. The problem was that my hosting company applys a rule that any outgoing emails must have a valid sending email address created for that domain. This rule has just been introduced, and I missed this.

Your information that the email had been processed by the script helped to identify cause of the problem.

Thanks for all your assistamce.

jim
This topic is locked and no more replies can be posted.