Skip to content

xsuchy09/nette-eml-response

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nette-eml-response

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);
	}
}

About

EML Response for Nette (to download eml files).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages