• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Plesk SMTP Info Need for Website Script

dubster

New Pleskian
I am using a PHP script but when I try the contact us form or register button the emails are not being sent, I think I might have set up the configuration wrong, in the script config file it asks for this info below, what info would I use to fill it out?

MAIL_DRIVER=smtp
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=null

Thanks
 
hello @dubster ,

please check that "Allow users and scripts to use Sendmail" setting is enabled in Tool & Settings > Mail Server Settings

another way, is to create some 'technical' mailbox at appropriate domain in Plesk and use it's credentials for sending such emails.
 
hello @dubster ,

please check that "Allow users and scripts to use Sendmail" setting is enabled in Tool & Settings > Mail Server Settings

another way, is to create some 'technical' mailbox at appropriate domain in Plesk and use it's credentials for sending such emails.
Thanks for the reply, does this look correct?

MAIL_DRIVER=smtp
MAIL_HOST=smtp.domain.com
MAIL_PORT=25
MAIL_USERNAME=email address
MAIL_PASSWORD=email address password
MAIL_ENCRYPTION=null
 
everything looks correct for me except 'MAIL_ENCRYPTION'
not sure, but most probably it should be set to 'tls'
 
Back
Top