Re: [PHP] mail problem - deadline!!!!!

2007-08-07 Thread Tijnema
On 8/7/07, Luc [EMAIL PROTECTED] wrote:
  Good evening list,

  i'm having a strange mail problem:

  i have 2 contact-forms on a site, where 1 get's send to the e-mail
  account and the other doesn't. I've tested them both on my remote
  server and they work, but when i upload them to the clients' server,
  1 doesn't arrive in the mailbox and the other one does.

  Code for the troublesome form:

code snip
 --
 Best regards,
  Luc

Hello Luc:

Your code is really large, you should try narrow the problem down to a
specific piece of code that doesn't work.
You can start with setting error_reporting to E_ALL and see if it
generates any warnings, fix them if so.
If that didn't help, try to remove piece of code and see when it
works, when it works again, add pieces of code 1 by 1 and see which
one is causing trouble.
Then take a deeper look at that part, and see if you can find the
problem, if not, then you can come back to this list with that small
piece of code.

Tijnema
-- 
Vote for PHP Color Coding in Gmail! - http://gpcc.tijnema.info

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] mail problem - deadline!!!!! - SOLVED

2007-08-06 Thread Luc
 Good evening list,

 Solved the problem myself :-)

 i changed the mail function

 instead of $youremail =  '[EMAIL PROTECTED]', i used $to =
   and changed the mail fuction from:

 @mail($contato_email,$subjectline,$body, From: $contato_email);

 into

 @mail($to,$subjectline,$body, From: $contato_email);
 
-- 
Best regards,
 Luc



Powered by The Bat! version 3.99.3 with Windows XP (build 2600),
version 5.1 Service Pack 2 and using the best browser: Opera.

From St Paul's second letter to the Corithians: 'Dear Corinthians,
you could have at least replied to the first ...' - Giobbe Covatta -
Italian writer

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php