Closed rzschoch closed 8 years ago
Unfortunately the guide is outdated. But I just reintroduced the option to configure the email class from the config file. The only exception is that the options are named more consistently:
c::set('email.to', 'mail@example.com');
c::set('email.replyTo', 'mail@example.com');
c::set('email.from', 'mail@example.com');
c::set('email.subject', 'Example');
c::set('email.body', 'Example');
c::set('email.service', 'postmark');
c::set('email.options', array(…));
This is now on the develop branch and will be in 2.2.3
I’m not sure if it’s intended behaviour, but I had to edit the plain contact form example for using postmark as a service:
Before that I tried doing the configuration in the config.php, like described here: http://getkirby.com/blog/email-plugin