xsuchy09/nette-eml-response

Nette EML Response

Installs: 19

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/xsuchy09/nette-eml-response

v1.0.1 2020-10-05 07:27 UTC

This package is auto-updated.

Last update: 2025-10-05 18:44:03 UTC


README

EmlResponse for Nette.

Install

composer require xsuchy09/nette-eml-response

Usage

class SomePresenter extends BasePresenter
{
	public function actionDefault()
	{
		$emlData = file_get_contents('mail.eml');

		$response = new \xsuchy09\Application\Responses\EmlResponse($emlData, 'download.eml');
		$this->sendResponse($response);
	}
}