Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

FormMail PHP script stopped sending

Thread Tools
 
Search this Thread
 
Old 03 August 2008, 02:05 PM
  #1  
pmacFTO
Scooby Regular
Thread Starter
 
pmacFTO's Avatar
 
Join Date: Mar 2003
Location: West Lothian, Scotland
Posts: 438
Likes: 0
Received 0 Likes on 0 Posts
Default FormMail PHP script stopped sending

I am trying to help a m8 who is having problems with his PHP form. It's a form clients fill in to apply for an account on his company site and it WAS sending fine then just stopped. We changed it to send to a GMail account instead and forwarded it to his office and this worked for a week or so then that also stopped sending!

Any ideas? I have looked at his hosting sites help and checked the code on my XAMPP webserver and it works ok - I wondered if the Hosting company had upgraded their PHP or something and this may have affected it but it's odd it would work then stop on 2 different email accounts!

Any ideas appreciated...I am just going to move a copy of the form to my Fasthosts site and see if it will work from there. Problem is I can't just host it anywhere as it uses certificates and SSL I think as it's a financial company so they have quite tight security for their customers.
Old 03 August 2008, 06:44 PM
  #2  
RichB
Scooby Regular
 
RichB's Avatar
 
Join Date: Apr 1999
Location: Bore Knee Muff
Posts: 3,666
Likes: 0
Received 0 Likes on 0 Posts
Default

Is it using a frmeowrk to send the mail or simply the mail() command in PHP?

If it is doing something more complicated then try creating a simple page with just :

< ? php mail("your@emailaddress.com","subject","message"); ? >

If that works then maybe check the from address the form is sending from, perhaps the mail server isn't allowing the senders address to send through it...
Old 03 August 2008, 07:01 PM
  #3  
james baldwin
Scooby Regular
 
james baldwin's Avatar
 
Join Date: Jun 2006
Location: Warwick
Posts: 283
Likes: 0
Received 0 Likes on 0 Posts
Default

Indeed, a lot of the formmail scripts only allow for an email address to be used which is at the website's domain.

eg.. yourwebsite.com ---> info@yourwebsite.com would work fine, however

eg.. yourwebsite.com ---> info@gmail.com would not!
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
SilverM3
ScoobyNet General
8
24 February 2021 01:03 PM
fatboy_coach
General Technical
15
18 June 2016 03:48 PM



Quick Reply: FormMail PHP script stopped sending



All times are GMT +1. The time now is 03:41 AM.