-1

I stopped receiving email from my WordPress site . I have tried with wp-smtp and postman plugins for all i`m able get the test messages from the plugins but not the real messages from contact form . Hence i opened class added two lines of code in the

function mailPassthru()
{
     echo mail('[email protected]', $subject,'<b>hi</b>',$header);
     echo mail('[email protected]', $subject,$body,$header);
}

both returns 1 . but i am able to receive mail only from first function not from second function means i can get only hi as content not the WordPress content .

Could anybody help on this??

Altaf Hussain
  • 5,166
  • 4
  • 30
  • 47

1 Answers1

0

you can use this code

function mailPassthru()
{
mail('[email protected]', $subject,'<b>hi</b>',$header);
}
Anand Parmar
  • 168
  • 3
  • 13