Support » Plugin: Business Directory Plugin - Easy Listing Directories for WordPress » bug: email sent to the wrong address

  • Resolved marcool

    (@marcool)


    Hi,

    In the configuration it says:
    “Send email confirmation to listing owner when listing is submitted?”
    So I expect that the wordpress user is going to receive an email. But the email is sent to the email in the listing. Not cool.
    Especially since you may want to register some people in your directory and handle the communication with them in a different way…
    I think you should either change the description text or really send the email to the wordpress user if it exists or to the listing email if you allow adding a listing without registering.

    Thanks!

    http://wordpress.org/extend/plugins/business-directory-plugin/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi marcool,

    So, first let me ask a few questions here to make sure I understand this issue:

    – Who posted the ad? A user? The admin?
    – Who received the email, specifically? The user? The admin? Someone else not listed?
    – What version of BD are you running?
    – Was registration turned on or off here (for BD)?

    Thread Starter marcool

    (@marcool)

    – Who posted the ad? A user? The admin?
    A user.
    – Who received the email, specifically? The user? The admin? Someone else not listed?
    The person who’s email address is listed on the listing. Not the owner of the listing.
    – What version of BD are you running?
    latest
    – Was registration turned on or off here (for BD)?
    Turned off. So you can register as a guest with no wordpress account. But you can also register and submit a listing.

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    OK, so that’s actually intentional behavior. If the listing is posted without a registered owner, we need to be able to send the email to someone. The listing is generally a reasonable place to start with that–in fact, someone recently complained because the last version didn’t do that at all. 🙁

    So who SHOULD have received the email? The listing owner being a guest has no way of getting the email at that point. If you wanted that kind of behavior, the best way to get it is requiring registration so the owner of the listing can get it. We’re going to add a feature where you can select one or the other for your site in the next release (owner of listings vs. email on listing) to allow for some choice in the matter, but the contact has to go somewhere…I’m not sure who in your case should have gotten it.

    Thread Starter marcool

    (@marcool)

    As far as I understand:
    – If registration is off => email goes to the listing email
    – If registration is on => email goes to the wp user

    In my case registration is off but it doesn’t mean you CAN’T register. It just means it’s not mandatory. So if you register a new WP user and you submit a new listing AND registration is off, the WP user should receive the message. It’s just common sense. Otherwise, why would you go through the trouble of creating yourself a wp user?

    Having the choice would be nice.

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    I see what you’re saying. We’ll see if we can conditionally include the logic to see if someone is logged in, even if the registration is off. That may be a challenge, I’ll just state up front.

    There’s a fair amount of logic inside the plugin to handle things one way or another depending on the registration state (on/off), so this may complicate things in a way that is too rough to get right, but we’ll look into it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘bug: email sent to the wrong address’ is closed to new replies.