Deprecated: Symfony\Component\ErrorHandler\ErrorHandler::register(): Implicitly marking parameter $handler as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/error-handler/ErrorHandler.php on line 110

Deprecated: Symfony\Component\ErrorHandler\ErrorHandler::__construct(): Implicitly marking parameter $bootstrappingLogger as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/error-handler/ErrorHandler.php on line 181

Deprecated: Symfony\Component\ErrorHandler\ErrorHandler::handleFatalError(): Implicitly marking parameter $error as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/error-handler/ErrorHandler.php on line 568

Deprecated: Symfony\Component\ErrorHandler\DebugClassLoader::checkClass(): Implicitly marking parameter $file as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/error-handler/DebugClassLoader.php on line 310

Deprecated: Symfony\Component\ErrorHandler\DebugClassLoader::setReturnType(): Implicitly marking parameter $returnType as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/error-handler/DebugClassLoader.php on line 797

Deprecated: Constant E_STRICT is deprecated in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/error-handler/ErrorHandler.php on line 76

Deprecated: Symfony\Component\Config\ResourceCheckerConfigCache::write(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/config/ResourceCheckerConfigCache.php on line 112

Deprecated: Symfony\Component\Config\ConfigCacheInterface::write(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/config/ConfigCacheInterface.php on line 46

Deprecated: Symfony\Component\HttpFoundation\Request::duplicate(): Implicitly marking parameter $query as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Request.php on line 449

Deprecated: Symfony\Component\HttpFoundation\Request::duplicate(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Request.php on line 449

Deprecated: Symfony\Component\HttpFoundation\Request::duplicate(): Implicitly marking parameter $attributes as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Request.php on line 449

Deprecated: Symfony\Component\HttpFoundation\Request::duplicate(): Implicitly marking parameter $cookies as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Request.php on line 449

Deprecated: Symfony\Component\HttpFoundation\Request::duplicate(): Implicitly marking parameter $files as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Request.php on line 449

Deprecated: Symfony\Component\HttpFoundation\Request::duplicate(): Implicitly marking parameter $server as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Request.php on line 449

Deprecated: Symfony\Component\HttpFoundation\Request::getPreferredLanguage(): Implicitly marking parameter $locales as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Request.php on line 1607

Deprecated: Symfony\Component\HttpFoundation\Request::getTrustedValues(): Implicitly marking parameter $ip as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Request.php on line 2012

Deprecated: Symfony\Component\HttpFoundation\ParameterBag::all(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/ParameterBag.php on line 40

Deprecated: Symfony\Component\HttpFoundation\ParameterBag::getEnum(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/ParameterBag.php on line 176

Deprecated: Symfony\Component\HttpFoundation\HeaderBag::all(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/HeaderBag.php on line 68

Deprecated: Symfony\Component\HttpFoundation\HeaderBag::get(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/HeaderBag.php on line 113

Deprecated: Symfony\Component\HttpFoundation\HeaderBag::getDate(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/HeaderBag.php on line 198

Deprecated: Symfony\Component\HttpFoundation\InputBag::getEnum(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/InputBag.php on line 86

Deprecated: Symfony\Component\Cache\Adapter\ApcuAdapter::__construct(): Implicitly marking parameter $version as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Adapter/ApcuAdapter.php on line 28

Deprecated: Symfony\Component\Cache\Adapter\ApcuAdapter::__construct(): Implicitly marking parameter $marshaller as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Adapter/ApcuAdapter.php on line 28

Deprecated: Symfony\Component\Cache\Adapter\AbstractAdapter::createSystemCache(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Adapter/AbstractAdapter.php on line 90

Deprecated: Symfony\Component\Cache\Traits\ContractsTrait::doGet(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Traits/ContractsTrait.php on line 62

Deprecated: Symfony\Contracts\Cache\CacheTrait::get(): Implicitly marking parameter $beta as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache-contracts/CacheTrait.php on line 28

Deprecated: Symfony\Contracts\Cache\CacheTrait::get(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache-contracts/CacheTrait.php on line 28

Deprecated: Symfony\Contracts\Cache\CacheTrait::doGet(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache-contracts/CacheTrait.php on line 38

Deprecated: Symfony\Contracts\Cache\CacheTrait::doGet(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache-contracts/CacheTrait.php on line 38

Deprecated: Symfony\Contracts\Cache\CacheInterface::get(): Implicitly marking parameter $beta as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache-contracts/CacheInterface.php on line 47

Deprecated: Symfony\Contracts\Cache\CacheInterface::get(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache-contracts/CacheInterface.php on line 47

Deprecated: Symfony\Component\Cache\Adapter\ArrayAdapter::get(): Implicitly marking parameter $beta as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Adapter/ArrayAdapter.php on line 77

Deprecated: Symfony\Component\Cache\Adapter\ArrayAdapter::get(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Adapter/ArrayAdapter.php on line 77

Deprecated: Symfony\Component\Cache\Adapter\ChainAdapter::get(): Implicitly marking parameter $beta as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Adapter/ChainAdapter.php on line 91

Deprecated: Symfony\Component\Cache\Adapter\ChainAdapter::get(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Adapter/ChainAdapter.php on line 91

Deprecated: {closure:Symfony\Component\Cache\Adapter\ChainAdapter::get():101}(): Implicitly marking parameter $item as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Adapter/ChainAdapter.php on line 101

Deprecated: Symfony\Component\Cache\Adapter\PhpArrayAdapter::get(): Implicitly marking parameter $beta as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Adapter/PhpArrayAdapter.php on line 81

Deprecated: Symfony\Component\Cache\Adapter\PhpArrayAdapter::get(): Implicitly marking parameter $metadata as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Adapter/PhpArrayAdapter.php on line 81

Deprecated: Symfony\Component\Cache\Adapter\PhpFilesAdapter::__construct(): Implicitly marking parameter $directory as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Adapter/PhpFilesAdapter.php on line 46

Deprecated: Symfony\Component\Cache\Traits\FilesystemCommonTrait::write(): Implicitly marking parameter $expiresAt as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Traits/FilesystemCommonTrait.php on line 88

Deprecated: Symfony\Component\Cache\Traits\FilesystemCommonTrait::getFile(): Implicitly marking parameter $directory as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/cache/Traits/FilesystemCommonTrait.php on line 116

Deprecated: Symfony\Component\DependencyInjection\ContainerAwareTrait::setContainer(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/dependency-injection/ContainerAwareTrait.php on line 29

Deprecated: Symfony\Component\DependencyInjection\Container::__construct(): Implicitly marking parameter $parameterBag as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/dependency-injection/Container.php on line 70

Deprecated: Symfony\Component\DependencyInjection\Argument\ServiceLocator::__construct(): Implicitly marking parameter $serviceTypes as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/dependency-injection/Argument/ServiceLocator.php on line 27

Deprecated: Symfony\Component\DependencyInjection\ServiceLocator::formatAlternatives(): Implicitly marking parameter $alternatives as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/dependency-injection/ServiceLocator.php on line 138

Deprecated: Symfony\Component\Config\Resource\ClassExistenceResource::__construct(): Implicitly marking parameter $exists as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/config/Resource/ClassExistenceResource.php on line 37

Deprecated: Symfony\Component\Config\Resource\ClassExistenceResource::throwOnRequiredClass(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/config/Resource/ClassExistenceResource.php on line 142

Deprecated: Symfony\Component\HttpKernel\EventListener\LocaleListener::__construct(): Implicitly marking parameter $router as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/EventListener/LocaleListener.php on line 38

Deprecated: Symfony\Component\HttpKernel\EventListener\ErrorListener::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/EventListener/ErrorListener.php on line 46

Deprecated: Symfony\Component\HttpKernel\EventListener\ErrorListener::logException(): Implicitly marking parameter $logLevel as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/EventListener/ErrorListener.php on line 177

Deprecated: Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch(): Implicitly marking parameter $eventName as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php on line 32

Deprecated: Symfony\Component\EventDispatcher\EventDispatcherInterface::getListeners(): Implicitly marking parameter $eventName as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/event-dispatcher/EventDispatcherInterface.php on line 62

Deprecated: Symfony\Component\EventDispatcher\EventDispatcherInterface::hasListeners(): Implicitly marking parameter $eventName as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/event-dispatcher/EventDispatcherInterface.php on line 74

Deprecated: Symfony\Component\EventDispatcher\EventDispatcher::dispatch(): Implicitly marking parameter $eventName as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/event-dispatcher/EventDispatcher.php on line 45

Deprecated: Symfony\Component\EventDispatcher\EventDispatcher::getListeners(): Implicitly marking parameter $eventName as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/event-dispatcher/EventDispatcher.php on line 62

Deprecated: Symfony\Component\EventDispatcher\EventDispatcher::hasListeners(): Implicitly marking parameter $eventName as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/event-dispatcher/EventDispatcher.php on line 111

Deprecated: Symfony\Component\HttpKernel\HttpKernel::__construct(): Implicitly marking parameter $requestStack as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/HttpKernel.php on line 60

Deprecated: Symfony\Component\HttpKernel\HttpKernel::__construct(): Implicitly marking parameter $argumentResolver as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/HttpKernel.php on line 60

Deprecated: Symfony\Component\HttpKernel\HttpKernel::terminateWithException(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/HttpKernel.php on line 122

Deprecated: Symfony\Component\HttpKernel\Event\ControllerArgumentsEvent::setController(): Implicitly marking parameter $attributes as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Event/ControllerArgumentsEvent.php on line 55

Deprecated: Symfony\Component\HttpKernel\Event\ControllerEvent::setController(): Implicitly marking parameter $attributes as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Event/ControllerEvent.php on line 54

Deprecated: Symfony\Component\HttpKernel\Event\ViewEvent::__construct(): Implicitly marking parameter $controllerArgumentsEvent as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Event/ViewEvent.php on line 31

Deprecated: Symfony\Component\HttpKernel\Controller\ControllerResolver::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Controller/ControllerResolver.php on line 28

Deprecated: Symfony\Component\HttpKernel\Controller\ContainerControllerResolver::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Controller/ContainerControllerResolver.php on line 28

Deprecated: Symfony\Component\HttpKernel\Controller\ArgumentResolver::__construct(): Implicitly marking parameter $argumentMetadataFactory as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Controller/ArgumentResolver.php on line 42

Deprecated: Symfony\Component\HttpKernel\Controller\ArgumentResolver::__construct(): Implicitly marking parameter $namedResolvers as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Controller/ArgumentResolver.php on line 42

Deprecated: Symfony\Component\HttpKernel\Controller\ArgumentResolver::getArguments(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Controller/ArgumentResolver.php on line 49

Deprecated: Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactory::createArgumentMetadata(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/ControllerMetadata/ArgumentMetadataFactory.php on line 21

Deprecated: Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::__construct(): Implicitly marking parameter $exceptionHandler as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php on line 41

Deprecated: Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure(): Implicitly marking parameter $event as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php on line 53

Deprecated: Symfony\Component\HttpKernel\EventListener\RouterListener::__construct(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/EventListener/RouterListener.php on line 56

Deprecated: Symfony\Component\HttpKernel\EventListener\RouterListener::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/EventListener/RouterListener.php on line 56

Deprecated: Symfony\Component\HttpKernel\EventListener\RouterListener::__construct(): Implicitly marking parameter $projectDir as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/EventListener/RouterListener.php on line 56

Deprecated: Symfony\Component\HttpKernel\EventListener\AbstractSessionListener::__construct(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/EventListener/AbstractSessionListener.php on line 53

Deprecated: Symfony\Component\HttpKernel\Log\DebugLoggerInterface::getLogs(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Log/DebugLoggerInterface.php on line 36

Deprecated: Symfony\Component\HttpKernel\Log\DebugLoggerInterface::countErrors(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Log/DebugLoggerInterface.php on line 43

Deprecated: Symfony\Component\HttpKernel\Log\Logger::__construct(): Implicitly marking parameter $minLevel as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Log/Logger.php on line 60

Deprecated: Symfony\Component\HttpKernel\Log\Logger::__construct(): Implicitly marking parameter $formatter as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Log/Logger.php on line 60

Deprecated: Symfony\Component\HttpKernel\Log\Logger::getLogs(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Log/Logger.php on line 114

Deprecated: Symfony\Component\HttpKernel\Log\Logger::countErrors(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Log/Logger.php on line 123

Deprecated: Symfony\Component\Routing\Router::__construct(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/routing/Router.php on line 94

Deprecated: Symfony\Component\Routing\Router::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/routing/Router.php on line 94

Deprecated: Symfony\Component\Routing\Router::__construct(): Implicitly marking parameter $defaultLocale as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/routing/Router.php on line 94

Deprecated: Symfony\Bundle\FrameworkBundle\Routing\Router::__construct(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Routing/Router.php on line 43

Deprecated: Symfony\Bundle\FrameworkBundle\Routing\Router::__construct(): Implicitly marking parameter $parameters as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Routing/Router.php on line 43

Deprecated: Symfony\Bundle\FrameworkBundle\Routing\Router::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Routing/Router.php on line 43

Deprecated: Symfony\Bundle\FrameworkBundle\Routing\Router::__construct(): Implicitly marking parameter $defaultLocale as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Routing/Router.php on line 43

Deprecated: Symfony\Component\HttpKernel\Debug\ErrorHandlerConfigurator::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Debug/ErrorHandlerConfigurator.php on line 39

Deprecated: Symfony\Component\HttpKernel\Debug\ErrorHandlerConfigurator::__construct(): Implicitly marking parameter $deprecationLogger as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Debug/ErrorHandlerConfigurator.php on line 39

Deprecated: Symfony\Component\Config\Resource\DirectoryResource::__construct(): Implicitly marking parameter $pattern as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/config/Resource/DirectoryResource.php on line 32

Deprecated: Symfony\Bundle\FrameworkBundle\Routing\RedirectableCompiledUrlMatcher::redirect(): Implicitly marking parameter $scheme as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Routing/RedirectableCompiledUrlMatcher.php on line 24

Deprecated: Symfony\Component\Routing\Matcher\RedirectableUrlMatcherInterface::redirect(): Implicitly marking parameter $scheme as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/routing/Matcher/RedirectableUrlMatcherInterface.php on line 28

Deprecated: Symfony\Component\String\Slugger\AsciiSlugger::__construct(): Implicitly marking parameter $defaultLocale as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/string/Slugger/AsciiSlugger.php on line 71

Deprecated: Symfony\Component\String\Slugger\AsciiSlugger::__construct(): Implicitly marking parameter $symbolsMap as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/string/Slugger/AsciiSlugger.php on line 71

Deprecated: Symfony\Component\String\Slugger\AsciiSlugger::slug(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/string/Slugger/AsciiSlugger.php on line 107

Deprecated: Symfony\Component\String\Slugger\SluggerInterface::slug(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/string/Slugger/SluggerInterface.php on line 26

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::file(): Implicitly marking parameter $fileName as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 167

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 252

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::renderForm(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 278

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::stream(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 288

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::createNotFoundException(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 316

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::createAccessDeniedException(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 330

Deprecated: Symfony\Bundle\FrameworkBundle\Controller\AbstractController::sendEarlyHints(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Controller/AbstractController.php on line 413

Deprecated: Symfony\Component\Routing\Annotation\Route::__construct(): Implicitly marking parameter $path as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/routing/Annotation/Route.php on line 37

Deprecated: Symfony\Component\Routing\Annotation\Route::__construct(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/routing/Annotation/Route.php on line 37

Deprecated: Symfony\Component\Routing\Annotation\Route::__construct(): Implicitly marking parameter $format as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/routing/Annotation/Route.php on line 37

Deprecated: Symfony\Component\Routing\Annotation\Route::__construct(): Implicitly marking parameter $utf8 as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/routing/Annotation/Route.php on line 37

Deprecated: Symfony\Component\Routing\Annotation\Route::__construct(): Implicitly marking parameter $stateless as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/routing/Annotation/Route.php on line 37

Deprecated: Twig\Template::displayBlock(): Implicitly marking parameter $templateContext as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/twig/twig/src/Template.php on line 151

Deprecated: Twig\Environment::getTemplateClass(): Implicitly marking parameter $index as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/twig/twig/src/Environment.php on line 262

Deprecated: Twig\Environment::loadTemplate(): Implicitly marking parameter $index as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/twig/twig/src/Environment.php on line 330

Deprecated: Twig\Environment::createTemplate(): Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/twig/twig/src/Environment.php on line 386

Deprecated: Twig\Loader\FilesystemLoader::__construct(): Implicitly marking parameter $rootPath as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/twig/twig/src/Loader/FilesystemLoader.php on line 37

Deprecated: Symfony\Bridge\Twig\Extension\ProfilerExtension::__construct(): Implicitly marking parameter $stopwatch as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/twig-bridge/Extension/ProfilerExtension.php on line 31

Deprecated: Symfony\Bridge\Twig\Extension\TranslationExtension::__construct(): Implicitly marking parameter $translator as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/twig-bridge/Extension/TranslationExtension.php on line 40

Deprecated: Symfony\Bridge\Twig\Extension\TranslationExtension::__construct(): Implicitly marking parameter $translationNodeVisitor as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/twig-bridge/Extension/TranslationExtension.php on line 40

Deprecated: Symfony\Bridge\Twig\Extension\TranslationExtension::trans(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/twig-bridge/Extension/TranslationExtension.php on line 99

Deprecated: Symfony\Bridge\Twig\Extension\TranslationExtension::trans(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/twig-bridge/Extension/TranslationExtension.php on line 99

Deprecated: Symfony\Bridge\Twig\Extension\TranslationExtension::trans(): Implicitly marking parameter $count as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/twig-bridge/Extension/TranslationExtension.php on line 99

Deprecated: Symfony\Bridge\Twig\Extension\TranslationExtension::createTranslatable(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/twig-bridge/Extension/TranslationExtension.php on line 128

Deprecated: Symfony\Contracts\Translation\TranslatorInterface::trans(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/translation-contracts/TranslatorInterface.php on line 62

Deprecated: Symfony\Contracts\Translation\TranslatorInterface::trans(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/translation-contracts/TranslatorInterface.php on line 62

Deprecated: Symfony\Contracts\Translation\TranslatorTrait::trans(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/translation-contracts/TranslatorTrait.php on line 38

Deprecated: Symfony\Contracts\Translation\TranslatorTrait::trans(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/translation-contracts/TranslatorTrait.php on line 38

Deprecated: Symfony\Bridge\Twig\Extension\CodeExtension::formatFile(): Implicitly marking parameter $text as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/twig-bridge/Extension/CodeExtension.php on line 144

Deprecated: Symfony\Bridge\Twig\AppVariable::getFlashes(): Implicitly marking parameter $types as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/twig-bridge/AppVariable.php on line 164

Deprecated: Symfony\Component\HttpKernel\Debug\FileLinkFormatter::__construct(): Implicitly marking parameter $fileLinkFormat as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Debug/FileLinkFormatter.php on line 36

Deprecated: Symfony\Component\HttpKernel\Debug\FileLinkFormatter::__construct(): Implicitly marking parameter $requestStack as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Debug/FileLinkFormatter.php on line 36

Deprecated: Symfony\Component\HttpKernel\Debug\FileLinkFormatter::__construct(): Implicitly marking parameter $baseDir as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Debug/FileLinkFormatter.php on line 36

Deprecated: Symfony\Component\HttpKernel\Debug\FileLinkFormatter::__construct(): Implicitly marking parameter $urlFormat as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-kernel/Debug/FileLinkFormatter.php on line 36

Deprecated: Symfony\Component\DependencyInjection\EnvVarProcessor::__construct(): Implicitly marking parameter $loaders as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/dependency-injection/EnvVarProcessor.php on line 31

Deprecated: Symfony\Bundle\FrameworkBundle\Secrets\SodiumVault::__construct(): Implicitly marking parameter $decryptionKey as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/framework-bundle/Secrets/SodiumVault.php on line 33

Deprecated: Symfony\Component\HttpFoundation\Response::setStatusCode(): Implicitly marking parameter $text as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Response.php on line 493

Deprecated: Symfony\Component\HttpFoundation\Response::setExpires(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Response.php on line 767

Deprecated: Symfony\Component\HttpFoundation\Response::setLastModified(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Response.php on line 951

Deprecated: Symfony\Component\HttpFoundation\Response::setEtag(): Implicitly marking parameter $etag as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Response.php on line 992

Deprecated: Symfony\Component\HttpFoundation\Response::isRedirect(): Implicitly marking parameter $location as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/Response.php on line 1295

Deprecated: Symfony\Component\HttpFoundation\ResponseHeaderBag::all(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/ResponseHeaderBag.php on line 89

Deprecated: Symfony\Component\HttpFoundation\ResponseHeaderBag::removeCookie(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/ResponseHeaderBag.php on line 186

Deprecated: Symfony\Component\HttpFoundation\ResponseHeaderBag::clearCookie(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/ResponseHeaderBag.php on line 239

Deprecated: Symfony\Component\HttpFoundation\ResponseHeaderBag::clearCookie(): Implicitly marking parameter $sameSite as nullable is deprecated, the explicit nullable type must be used instead in /home/autoperi/_SUBDOMAINS_/mail-service.devrise.rs/vendor/symfony/http-foundation/ResponseHeaderBag.php on line 239
Mail Service Documentation

Quick Start

Last updated: Dec 15th, 2019

Mail Service

Mail service is small Symfony application / service which uses swift mailer bundle for sending mails.

Symfony provides a mailer feature based on the popular Swift Mailer library via the SwiftMailerBundle. This mailer supports sending messages with your own mail servers as well as using popular email providers like Mandrill, SendGrid, and Amazon SES.

Symfony's Mailer & Mime components form a powerful system for creating and sending emails - complete with support for multipart messages, Twig, CSS inlining, file attachments and a lot more.

When we are introduced to the theory it's time to move on to the practical part

SwiftMailer

Usage

Introduction to the task

  • Route: Email send
  • Method: POST
  • POST is used to send data to a server to create/update a resource.
  • Schema: https
  • HyperText Transfer Protocol Secure (HTTPS) is an extension of the Hypertext Transfer Protocol (HTTP). It is used for secure communication over a computer network, and is widely used on the Internet.
  • Payload:
    • name - Sender full name
    • email - Sender email address
    • subject - Email subject

      Last 3 payloads are paramount to the functionality of the service itself

    • sendTo- Email must be valid in order for the message itself to reach user
    • sendfrom - Is the email of the person sending the message (i.e. your email)
    • message - Text that you want to send to someone

Code

HTML Code

Before entering the code, you need to open the body tag in which it will be implemented.

It is necessary to create a form, which will have the appropriate inputs to send the email.

The most important thing is to indicate to whom the e-mail is sent and from whom it is received, if those inputs are not set, an error will occur, i.e. the e-mail will not be sent.


    <div class="contact" id="contactForm" action="https://contact-controller.bet.org.rs/email/send" method="POST">
        <form id="contactForm" action="https://contact-controller.bet.org.rs/email/send" method="POST">
    <div class="row">
        <div class="col-md-4">
            <input type="text" id="name" name="name" placeholder="Full Name">
        </div>
        <div class="col-md-4">
            <input type="text" id="subject" name="subject" placeholder="Subject">
        </div>
        <div class="col-md-4">
            <input type="text" id="email" name="email" placeholder="E-mail">
            <input type="hidden" id="sendto" name="sendto" value="your@email.com">
            <input type="hidden" id="sendfrom" name="sendfrom" value="contact@somedomain.rs">
        </div>
    </div>
            <textarea placeholder="Message" id="message" name="message" rows="8" > </textarea>
            <button class="btn-ghost pull-right" type="submit" > Send </button>
        <form>
    </div>

JavaScript Code

Brief explanation of JS

JavaScript is a script language that you can use for front-end development. When the name JavaScript is used in the context of sending emails Jqueri is the first thing that comes to mind.

The short answer is that you can't send mail using JavaScript alone. You'd need a server-side handler to connect with the SMTP server to actually send the mail. There are many simple mail scripts online, such as this one.

For sending an email in js is necessary to:

  • To load js library, in this case it is jquery(Click here for CDN,and how to implement it) CDN link should be placed at the end of the body tag
  • Use jquery functon to send email (use POST to "submit" data)
  • If conditions - in case of error we can see what is the problem as well as if an email is sent to receive notification of successful sending
  • 
        $('#contactForm').on('submit',function(e){
        e.preventDefault();
    
        var $action = $(this).prop('action');
        var $data = $(this).serialize();
        var $this = $(this);
    
        $this.prevAll('.alert').remove();
    
        $.post( $action, $data, function( response ) {
    
            if( response === 'error' ){
                $this.before( '
    Došlo je do greške.
    Molimo pokušajte ponovo kasnije!
    ' ); } if( response === 'success' ){ $this.before( '
    Hvala Vam na poslatoj poruci.
    Odgovorićemo Vam u najkraćem mogućem roku!
    ' ); $this.find('input, textarea').val(''); } }, "json"); });