ERROR! There was an error sending your form. Please try again, or send an email directly to email@example.com.
Keep getting this error when testing my trade form. However, etcg is moving cards from trading to pending, it just won't send me an email after. I also have the same problem completing trades in etcg. The cards are moving, but I get this:
Error! Could not email the trader.
I've attached trade.php, tradeform.php and func.php
Link to my site: http://tcg.anineheitun.com/trademe.php