Subsite SMTP settings not working

[ad_1]

Moderator
James Huff

(@macmanx)

Volunteer Moderator

Which SMTP plugin are you using?

Hello, @macmanx

However, the problem is not with the plugin, it is with the SMTP settings of the WordPress subsite. Any STMP plugin works correctly. However, subsite mailserver settings do not work. Please review the screenshot.

https://prnt.sc/ZMn3c5hic682

Moderator
James Huff

(@macmanx)

Volunteer Moderator

WordPress doesn’t provide any SMTP functionality, so the problem would be with the plugin not working properly with multisite.

So, what is the function of the mailserver_url, mailserver_login, mailserver_pass and mailserver_port fields in the settings of a subsite? I thought this information would provide an SMTP service for the subsite. @macmanx

Moderator
James Huff

(@macmanx)

Volunteer Moderator

Those are for emailing posts to WordPress, not for sending emails: https://developer.projectdmc.org/apis/options/

I learned this now, thank you. So what exactly is this? So why would a site email WordPress? What types of emails? @macmanx

Moderator
James Huff

(@macmanx)

Volunteer Moderator

Honestly, in over 20 years, I’ve never had a use for it, but it’s been there since the beginning, so someone must have had a use for it. 🙂

Ah, then I have to use an SMTP plugin for outgoing emails. 🙂 Plugins like WP Mail SMTP are pretty good but I’m looking for something really simple. Do you have any advice?

Moderator
James Huff

(@macmanx)

Volunteer Moderator

Ideally you don’t need an SMTP plugin for outgoing emails.

Your hosting provider shouldn’t be blocking PHP’s mail function, which is what WordPress uses for outgoing emails.

Some folks though find that using an SMTP plugin is easier than fighting their hosting provider.

I’ve never had to use an SMTP plugin, so I don’t have any specific recommendations.

I think you are talking about PHP Mail() @macmanx

Each subsite in the multisite network operates independently with a different domain, and I think a dedicated SMTP is important for email deliverability.

Also, I am using a private server and if there is no SMTP setting, the subsite does not send emails to the user at all.

Moderator
James Huff

(@macmanx)

Volunteer Moderator

If you have control of the server, re-compile PHP with its mail function enabled.

Or, grab a good SMTP plugin. Just a matter what’s more comfortable, really. 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer