Hey guys,
I'm setting up an Email Component for sending a Confirmation Email. Found this Tutorial https://www.sitepoint.com/sending-confirmation-emails-phalcon-swift/
But I'm getting an Error when I use this Code:
require_once (__DIR__ . '/../../vendor/Swift/swift_required.php');
in Mail.php
The Error is:
PHP Warning: require_once(/var/www/dev/app/library/../../vendor/Swift/swift_required.php): failed to open stream: No such file or directory in /var/www/dev/app/library/Mail.php on line 8
PHP Fatal error: require_once(): Failed opening required '/var/www/dev/app/library/../../vendor/Swift/swift_required.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/dev/app/library/Mail.php on line 8
Even if I give it the absolute Path, it won't find the file.
Paths to Files are:
/var/www/dev/app/library/Mail.php // The Mail.php
/var/www/dev/vendor/Swift/swift_required.php // File I want to include
Don't know what to try anymore.
Thanks for help.