Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.15 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.15 KB

Zend Framework Mail transport drop in replacement for Mailgun

This is an easy way to send emails from within your Zend Framework application using the Mailgun API.

It registers Mailgun as the default transport. All you have to do in your code is to change the application config and add the Mailgun files to your libraries folder.

Make these additions to your application.ini file:

; ------------------------------------------------------------------------------
; Mailgun configuration
; ------------------------------------------------------------------------------

autoloadernamespaces[] = "Mailgun_"
pluginPaths.Mailgun_Application_Resource = "Mailgun/Application/Resource"
resources.mailgun.key = "" ; Add your API key here
resources.mailgun.domain = "" ; Add the domain you would like to send
	messages over here

It will register a resource plugin that sets Mailgun as your default transport for all emails.

Todo