• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Trouble Sending Authenticated Email from Websites Using php 7.1.5

johnny a

New Pleskian
I was trying to configure a smtp wordpress plugin for a website on my server (Windows 2012 R2 - Plesk Onyx 17.5.3 update #36). I was using the wordpress plugin to pass credentials of a gmail account to use as an account to send mail from a form on the website. My web server doesn't have a mail server installed, I prefer my clients to use an authenticated external mail server to send from.

The site with the issue is using php 7.1.12. Every time I tried to send a test email from the plugin, I receive an error message related to phpmailer. When I switch the php version on the site to default 5.4.45 the plugin works perfectly and the test email is sent. I've attached the error thrown by the plugin when I'm using php 7.1. I've also received the same error using every other version of php installed with the exception of 5.4.45

I've verified that I'm able to telnet to the gmail smtp server successfully from the server. Also, the username and password are both correct.

I've verified through Tools & Settings -> PHP settings that both versions of php have the same extensions turned on. Both are default installations of PHP done through the add components section of plesk. I haven't done any customization or added php plugins/extensions for either version.

Has anyone else experienced this? Is there some php setting or extension with 5.4.45 that is different from every other version shipped with plesk?
 

Attachments

  • mailer-error.jpg
    mailer-error.jpg
    144.5 KB · Views: 3
Back
Top