This was originally commented on an old post https://buddypress.org/support/topic/buddypress-ajaxpost-calls-very-slow-when-it-sends-emails/
It’s tempting to draw conclusions about is_slow()
from that other post but realistically that assumption needs testing.
@kpkna I would like BP to send emails asynchronously in the future — I think the WordCamp website codebase has an approach we could adopt.
I think you need to provide more information. There’s several links in the other post you wrote in, and some of those give clues as to what could be useful to know. I’m personally not planning to debug this now, because it might be SMTP-specific or server-specific, but collecting patterns and observations will help me or another contributor make this better in the future.
It’d be interesting to know:
* Where is your site hosted?
* Is your server using SMTP?
* Who are you sending emails *through*? Gmail?
* Does your server support IPv6 for SMTP traffic?
etc
thanks