SMTP Plugin Conflict
Quote from Heatherlly on January 6, 2019, 3:18 pmWe started having issues with posting. It was taking an unusually long time (around 20 seconds), and sometimes new posts wouldn’t show up.
I disabled all my other plugins and enabled them one by one to see if one of them was causing the problem. I narrowed it down to this one:
https://wordpress.org/plugins/wp-mail-smtp/
I got rid of that one and installed a replacement, but the new one created the same issue.
https://wordpress.org/plugins/post-smtp/
So it seems this is a functionality conflict, not an individual faulty plugin. Do you have any idea what’s going on, and if so, what can I do to fix it? I need to have some variation of an SMTP plugin – otherwise, most of our email notifications are marked as spam.
Thank you.
We started having issues with posting. It was taking an unusually long time (around 20 seconds), and sometimes new posts wouldn’t show up.
I disabled all my other plugins and enabled them one by one to see if one of them was causing the problem. I narrowed it down to this one:
https://wordpress.org/plugins/wp-mail-smtp/
I got rid of that one and installed a replacement, but the new one created the same issue.
https://wordpress.org/plugins/post-smtp/
So it seems this is a functionality conflict, not an individual faulty plugin. Do you have any idea what’s going on, and if so, what can I do to fix it? I need to have some variation of an SMTP plugin – otherwise, most of our email notifications are marked as spam.
Thank you.
Quote from Asgaros on January 6, 2019, 5:50 pmHello @heatherlly
This seems to be an issue with the response-time when WordPress tries to send an e-mail. First of all: Asgaros Forum does not use its own implementation for sending mails. The wp_mail function is used which is part of every WordPress installation.
So everytime when a mail is send, the wp_mail function establishes a connection to your mail-server, deliveres the mail to your mail-server, waits for a response and closes the connection again. As you see this is a very complex process and when a lot of mails are send this may take some time.
Because this is a core-function of WordPress I cannot really fix anything. The first thing you can try is to ask your web-hosting-provider if he is aware of any timing-issues when a PHP-application communicates with their mail-server. Another solution could be to find a WordPress extension which manages the transmission of mails over time in some kind of way. So instead of sending mails directly it should put the mails inside some kind of queue and sends X mails every page-request to prevent this kind of lag which happens when multiple mails are send at once. I am sure there are some plugins for this purpose out there.
Hello @heatherlly
This seems to be an issue with the response-time when WordPress tries to send an e-mail. First of all: Asgaros Forum does not use its own implementation for sending mails. The wp_mail function is used which is part of every WordPress installation.
So everytime when a mail is send, the wp_mail function establishes a connection to your mail-server, deliveres the mail to your mail-server, waits for a response and closes the connection again. As you see this is a very complex process and when a lot of mails are send this may take some time.
Because this is a core-function of WordPress I cannot really fix anything. The first thing you can try is to ask your web-hosting-provider if he is aware of any timing-issues when a PHP-application communicates with their mail-server. Another solution could be to find a WordPress extension which manages the transmission of mails over time in some kind of way. So instead of sending mails directly it should put the mails inside some kind of queue and sends X mails every page-request to prevent this kind of lag which happens when multiple mails are send at once. I am sure there are some plugins for this purpose out there.
Quote from Heatherlly on January 7, 2019, 10:32 amOkay, that makes sense. I’ll look for an alternate solution.
Also, thanks so much for taking the time to explain. This is one of the best plugins I’ve ever used, both in terms of functionality and the support you provide. Keep up the awesome work!
Okay, that makes sense. I’ll look for an alternate solution.
Also, thanks so much for taking the time to explain. This is one of the best plugins I’ve ever used, both in terms of functionality and the support you provide. Keep up the awesome work!