• Resolved drew4

    (@drew4)


    Hi Mark,

    I have a client who is running WP Broadbean, it works flawlessly when notifications are sent via the server, however they ideally need to be run via an SMTP relay.

    When we configure the relay (using WP Mail SMTP), all emails on the site go via this as expected, except mail sent via WP Broadbean.

    I’ve been troubleshooting this with the Office 365 exchange and there doesn’t seem to be anything arriving/being forwarded etc. at the relay mailbox.

    I noticed there was a couple of other people with issues using an SMTP relay and WP Broadbean and wondered if there is a solution to this?

    Any help or guidance is very much appreciated!

    Thanks, Drew

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mark Wilkinson

    (@wpmarkuk)

    WP Broadbean sends email using the wp_mail() WordPress function. The SMTP solution you are using intercepts all mail sent and then sends it using SMTP instead.

    However many SMTP solutions mean that ALL outgoing mail from your website will come “from” the same email address, usually one that you declare in the settings.

    This will not work with the WP Broadbean plugin because the application emails must come “from” the email address of the person who applied.

    Thread Starter drew4

    (@drew4)

    Thanks for the quick reply!

    I was speaking with Broadbean and they weren’t able to to tell me this – thank you for highlighting how things work!

    It’s a bizarre setup from Broadbean to require essentially spoofed FROM addresses.

    _______________________________________________________

    For anyone else who finds this:

    We were able to solve the problem by keeping the relay enabled but forcing the “FROM” address to be the one of the relay account itself (via Office 365). The relay was blocking the emails as the FROM address appeared spoofed so it hit the exchange security.

    Doing this allows all emails to be send via the relay and to Broadbean – however Broadbean will not send a notification to the applicant as it doesn’t understand the FROM address (again, odd setup they have). But you can hook into the WP Broadbean action and send your own custom notification to solve this!

    Thanks again Mark ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Notification Send Error – SMTP Data not accepted’ is closed to new replies.