← Back to SendGrid Mailer Driver Support
    fphilip54381
    
            
            
                    
                                            
        
    
        Hi, this plugin is installed with an other plugin, but I do not intend to use sendgrid. mails are configured to use php mail function, but I've still this error :
Symfony\Component\Debug\Exception\FatalThrowableError: Class 'System\Models\MailSettings' not found in /home/xxx/domains/xxx.com/public_html/plugins/sarahman/mailer/Plugin.php:72
Anybody have an idea to solve ?
Thanks for reply.
    paulgrafx
    
            
            
                    
                                            
        
    
        Hi fphilip54381,
I had the same problem and it turns out it's an easy fix/typo.
All instances of MailSettings should be MailSetting.
Plugin.php
use System\Models\MailSettings;change to
use System\Models\MailSetting;And
if (!$widget->model instanceof MailSettings) {change to
if (!$widget->model instanceof MailSetting) {Last updated
1-2 of 2
