For now the PHPMailer class is fixed for the “email” method in kirby. I would like to see a more flexible construct, so that I can replace this mailer with an custom one.
what would you gain from a different class? any missing features in phpmailer?
@bnomei I guess sending email via something that isn’t SMTP. Most transactional email providers (sendgrid, mailgun, etc) offer APIs that are faster and more reliable than SMTP.
This is a really easy enhancement to add. It would be great if Kirby could integrate with very popular email providers. Can it be considered in 3.6?