Jump to content

PHP contact form isn't sending out email

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
jonathan1987

jonathan1987

    Newbie

  • Members
  • Pip
  • 1 posts
Hi

I have an email form that isn't sending out an email to the recipient or a copy to the client. The form can be found at http://www.kelcos.co.uk/contact and the files associated with this are:

/index.php
/jquery.js
/sendemail.php
/submitform.php
/thanks.php
/verify.php

I have used this form on other websiteshttp://www.bowlesgreen.co.uk/contact and http://www.arbortect...e.co.uk/contact and it works fine - the only difference is that these other sites use my usual hosting provider and for the one that won't send I'm working through the clients hosting provider, which I can only presume is what is causing the problem.

I have contacted the hosting and so far we have eliminated a few things such as:

• 'The limitation to our systems is that the emails sent using scripts will be blocked if they are not going to or coming from an email address setup on the web hosting account.' - so I tried sending the form to an a kelcos.co.uk address, but still no joy.

• PHP/ASP was originally disabled, but now has been activated

• the mail() script is enabled

On another note has it got anything to do with this link being blank? http://kelcos.co.uk/...t/sendemail.php

I would really appreciated any advise any of you could offer.

Edited by jonathan1987, 25 May 2010 - 10:07 AM.


#2
bmett

bmett

    Newbie

  • Members
  • PipPip
  • 12 posts
Hi there,

It's hard to help if you don't post any code at all. ^^

Why don't you rewrite the code for this contact form? A contact form is fairly easy to get going and you can use PHPMailer to implement the E-Mail sending.
Here is a very good beginners tutorial for PHPMailer: PHPMailer Tutorial


Hope that helps

Cheers,
Bjorn