• Resolved Martienl

    (@martienl)


    Hello there,

    i´m having a weird problem trying to use the postman plugin.
    Whenever i try to enable it, it gives me the above error (Postman: wp_mail has been declared by another plugin or theme, so you won’t be able to use Postman until the conflict is resolved.)

    I already tried to disable all plugins, activate another theme and even update the theme i normally use.
    None of these steps fixed the problem, i can not send any mail from wordpress.

    I attached the postman diagnostic, any help is much appreciated.

    OS: Linux h2064663.stratoserver.net 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64
    PHP: Linux 5.3.10-1ubuntu3.6 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
    WordPress: 4.3.1 de_DE UTF-8
    WordPress Theme: DrivingSchool
    WordPress Plugins: Contact Form 7, Postman SMTP, Really Simple CAPTCHA, Revolution Slider
    WordPress wp_mail Owner: /var/www/vhosts/mysite.de/httpdocs/wp-config.php
    WordPress wp_mail Filter(s): wp_staticize_emoji_for_email
    Postman: 1.7.2
    Postman Sender Domain (Envelope|Message): mysite.de | mysite.de
    Postman Prevent Message Sender Override (Email|Name): No | No
    Postman Active Transport: SMTP (smtp:tls:plain://mail.mysite.de:25)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 0 | 0

    https://wordpress.org/plugins/postman-smtp/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jason Hendriks

    (@jasonhendriks)

    Hi. Your diagnostics are suspicious

    WordPress wp_mail Owner: /var/www/vhosts/mysite.de/httpdocs/wp-config.php

    Open up this file and see what’s in it. See if you see something like the following

    function wp_mail

    That’s not part of the normal WordPress distribution.

    Thread Starter Martienl

    (@martienl)

    Hey there,

    thanks for the reply.

    Actually there was a line “function wp_mail(){// DO NOTHING}”, although i have no idea who put it there.

    Anyway, i removed it and now WordPress is able to send mails once again.

    Thanks for your help, have a great day 🙂

    Thread Starter Martienl

    (@martienl)

    “Marked as resolved”

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    Probably your host put it there to prevent you from sending mail.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Weird "wp_mail has been declared by another plugin or theme" Error’ is closed to new replies.