How to use kirby email function with SMTP authentication?

Hello,

I’ve been cracking my head for a couple of days trying to get an email form working.

I was using Kirby Uniform (https://github.com/mzur/kirby-uniform) with no problems until certain mails were being blocked. After realizing the current infrastructure of the project needs SMTP to work I was wondering if anyone had the email function working with that or maybe a phpmailer (https://github.com/PHPMailer/PHPMailer) example. I’m kinda stuck on the controller for my form and I don’t know how to correctly integrate the package.

You can use other email services (like SMTP) with the Uniform plugin: https://github.com/mzur/kirby-uniform/wiki/Action:-Email#service

That’s right. Take the default email service as an example. Like this, you can implement your own smtp service using PHPMailer. Let me know if you need more help.

have you solved your problem.?