getgrav / grav-plugin-email

Grav Email Plugin
http://getgrav.org
MIT License
37 stars 29 forks source link

The mailer DSN is invalid #187

Closed myxpt2 closed 3 months ago

myxpt2 commented 3 months ago

Hello, Wondering if you could please help? I have just migrated Grav to a new server and everything has gone well. However, I do not have Sendmail available on my new server. To get around this, I was trying to configure the email plugin to use my Gmail account and SMTP by choosing SMTP from the drop down and adding the values in the configuration settings. I added the credentials in (incorrectly), tested, and then removed the credentials - but SMTP was still selected as the relay type. After which, the whole site / all pages goes down with a mailer DSN invalid message.

I have tried removing the email plugin from the CLI and also replacing the Symfony files from a backup - clearing the Grav cache, but the error comes back as soon as the email plugin is installed. I am guessing another configuration file has been updated in the system, but I am completely out of my depth with this. Any suggestions would be greatly appreciated.

My version is: Grav grav-admin-v1.7.46 / Email plugin 4.10. Server: Ubuntu / Apache 2 / PHP 8.3.9.

Thanks.

myxpt2 commented 3 months ago

I have resolved this by rolling back the plugin, which allowed me to update the settings.