Wordpress blog unable to send email using Google's SMTP Server.

After spending 3 days trying to find a solution, I gave up. It doesn't seem like its possible to send email over php in windows without some third party plugin. The WP Mail SMTP plugin I was using for wordpress broke on update. I tried reverting back to the previous version; It didn't help. I gave up trying to use this plugin as well. I am now using Postman SMTP and now working fine. I no longer need help.

/CloseThread
 
It doesn't seem like its possible to send email over php in windows without some third party plugin

I'm confused.. Why would it not be possible? "php in Windows" is the confusing part for me... If you have a website it wouldn't be Windows, unless that webserver is running on Windows. It doesn't have anything to do with the client side operating system however. Also, are you attempting to send from an authenticated google email account of your own? Have you tried changing your Google account settings to "Allow less secure apps: ON"? By default Google provides some restrictions on what devices and services can access and use their SMTP servers.

If you're sending an email from the hosted server, it would depend on the SMTP restrictions and configuration of that server, in which case it's always good to research if changes were made for your hosting.
 
Last edited:
It doesn't seem like its possible to send email over php in windows without some third party plugin

I'm confused.. Why would it not be possible? "php in Windows" is the confusing part for me... If you have a website it wouldn't be Windows, unless that webserver is running on Windows. It doesn't have anything to do with the client side operating system however. Also, are you attempting to send from an authenticated google email account of your own? Have you tried changing your Google account settings to "Allow less secure apps: ON"? By default Google provides some restrictions on what devices and services can access and use their SMTP servers.

If you're sending an email from the hosted server, it would depend on the SMTP restrictions and configuration of that server, in which case it's always good to research if changes were made for your hosting.
I know. I'm confused myself. I am running windows 10 Home. Using IIS to host everything. I also made sure ports are not being blocked by the Windows Firewall or my router. I have already enabled less secure apps. I'm sending emails from my computer which is hosting 2 blogs. Yes I am using an authenticated account I own. I just decided to use a different plugin for wordpress called Postman SMTP and it is so far working flawlessly.

I would still like to learn how to properly set up mailing using the built in method. The PHP.net site is incredibly confusing for me. How do I authenticate? How do I select SSL? The only thing I found on PHP.net was for a third party program which is not what I'm wanting to do. I just want to use the built in method for sending mail via php but doesn't seem to be supported on windows.

See this is the same Problem PHP has, all their instructions are under the assumption you are using Unix/Linux (not sure which is technically correct). Obviously their assumption is wrong which is why I find myself unable to do what I need to do.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top