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 Aug 3, 2008 | 02:05 PM
  #1  
pmacFTO's Avatar
pmacFTO
Thread Starter
Scooby Regular
 
Joined: Mar 2003
Posts: 438
Likes: 0
From: West Lothian, Scotland
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.
Reply
Old Aug 3, 2008 | 06:44 PM
  #2  
RichB's Avatar
RichB
Scooby Regular
 
Joined: Apr 1999
Posts: 3,666
Likes: 0
From: Bore Knee Muff
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...
Reply
Old Aug 3, 2008 | 07:01 PM
  #3  
james baldwin's Avatar
james baldwin
Scooby Regular
 
Joined: Jun 2006
Posts: 283
Likes: 0
From: Warwick
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!
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
SilverM3
ScoobyNet General
8
Feb 24, 2021 01:03 PM
fatboy_coach
General Technical
15
Jun 18, 2016 03:48 PM




All times are GMT +1. The time now is 04:30 AM.