Hey guys, so I have set up a email form which used to work with mail() php function. Today my host turned off the mail() function to avoid spam. So I installed the WP SMTP Plugin on my wordpress and changed the code from mail(...) to wp_mail(...) testmail works on plugin but the form is giving this error: Call to undefined function wp_mail() So all you need to do is to add a few lines into the php mailing script that calles the wordpress functions including the wp_mail command. then it should work and send emails again. PRICE: awaiting your offer.