Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Class 'TYPO3\SwiftMailer\Message' not found #3

Closed
KatharinaSt opened this issue Sep 21, 2015 · 2 comments
Closed

Fatal error: Class 'TYPO3\SwiftMailer\Message' not found #3

KatharinaSt opened this issue Sep 21, 2015 · 2 comments

Comments

@KatharinaSt
Copy link

This line in the EmailFinisher class does not ensure that the required Swiftmailer class is actually available (and causes a fatal error if you don't have Swiftmailer installed):
$mail = new \TYPO3\SwiftMailer\Message();

I suggest to either include Swiftmailer as dependency in composer.json or to check for installed Swiftmailer and throw an informative exception instead.

@kitsunet
Copy link
Member

Thanks, good point! I guess we should at least suggest the switftmailer package if we don't want to create a hard dependency.

@kdambekalns
Copy link
Member

Fixed with #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants