Docs »

Plugins »

Extension Points »

Mail Transport Type

Name: Mail Transport Type
Identifier (ID): cerberusweb.mail.transport

Manifest


		<extension point="cerberusweb.mail.transport">
			<id>core.mail.transport.null</id>
			<name>Null</name>
			<class>
				<file>api/plugin.classes.php</file>
				<name>CerbMailTransport_Null</name>
			</class>
			<params>
			</params>
		</extension>

Code



class ExampleExtension extends Extension_MailTransport {
	public function getLastError() {
	}

	public function renderConfig(Model_MailTransport $model) {
	}

	public function send(Swift_Message $message, Model_MailTransport $model) {
	}

	public function testConfig(array $params, $error) {
	}
}


Extensions

Null core.mail.transport.null
SMTP core.mail.transport.smtp