The wp_mail function in my plugin does not override the core wp_mail.
The function declaration in the plugin is like this:
if (!function_exists("wp_mail")){
function wp_mail( $to, $subject, $message, $headers = '', $attachments = array()) {
When i remove the wp_from from pluggable.php, the wp_mail from the plugin is called. Otherwise the function from pluaggable.php is called.
What is going on?