wp_mail function not working properly??? (7 posts)

I'm using a theme that calls the mail() function to email it's users after a successful post. The installation is hosted at hostgator with limits the use of mail() so I'm using this plugin for smtp http://wordpress.org/extend/plugins/hgk-smtp/.

Changed the mail() call to wp_mail() and it's still not working. I've only been able to locate one instance of the call in the template files.

@FoodWriter, the syntax is:wp_mail( $to, $subject, $message, $headers = '', $attachments = array() )
so, the last two parameters are optional (if you don't set them, $headers will be an empty string and $attachmens will be an empty array)