I think i am going crazyFreaking unbelievable !! The error was in my flash file. The email(sender) variable wasn’t sent.
So i have this flash contact form and this php script : http://pastie.org/461665.
1. All variables are sent trough the LoadVars object. All variable names are good, and all variables are sent correctly.
2. The php script loads and the variables get sent(recipient email is good – i tried this with several email addresses)
3. If you take a look at the php script, you can see that it returns an “ok” string value, if the mail is sent(or that’s what i thought).
So all these are correct, and according to that &fStatus variable, the email is sent. But the problem is that i don’t receive any email!! I am trying to make this work for the past 2 hours.
But why would i receive a “message was sent” from the php script, if the email didn’t get trough?
are you using a yahoo address?
are you using a yahoo address?yes. yahoo and gmail.
try to send mail to another mail and check if it’s about your current email that you trying to send mail…
because sometimes yahoo hotmail etc filters mails and reject them without a notifying mail…
try to send it to a mail on your own server..
I think Yahoo doesn’t like when the “from” email is not from your own site so set both the “two” and “from” emails to addresses from the domain that’s processing the php script. Then add the email address from the user to the body of the email you receive.
Your problem is probably with if ( $ok ) In PHP everything which isn’t either 0 or FALSE would be processed as true so even if $ok was ‘error sending email’ it would still meet the condition and you’d see the “& fStatus = ok &”.
Its a PHP Gotcha!
Cost: USD 25I am tented to recreate that error and pay you just to see how long does it takes for you to find it How can you be so confident to say “Delivery: Immediate” if you don’t even know what’s the problem?
Payment Mode: Paypal: email@example.com
Requirment: Contact Form FLA and PHP and email id info.
When i say to a client that i will finish in two hours, it usually gets three