# Kirby v2 - SMTP?

**URL:** <https://forum.getkirby.com/t/kirby-v2-smtp/13139>\
**Category:** Questions\
**Tags:** v2\
**Created:** [March 1, 2019, 1:46pm UTC](https://forum.getkirby.com/t/kirby-v2-smtp/13139 "2019-03-01T13:46:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thewebprojects](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/thewebprojects/32/10107_2.png) [@thewebprojects](https://forum.getkirby.com/u/thewebprojects)\
**Post date:** [March 1, 2019, 1:46pm UTC](https://forum.getkirby.com/t/kirby-v2-smtp/13139/1 "2019-03-01T13:46:44Z")

</div>

Hello all. Quick question regarding Kiby v2’s email helper what-have-you, does it support sending via SMTP? I know v3’s email helper does and that’s sweet, but I’m not up for upgrading the site ([looks kinda scary](https://getkirby.com/docs/cookbook/migration/sites)). I think I’ll update existing v2 sites when I rebuild the site from scratch. Anyway… thanks in advance.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 1, 2019, 1:49pm UTC](https://forum.getkirby.com/t/kirby-v2-smtp/13139/2 "2019-03-01T13:49:29Z")

</div>

Yes, you can use SMTP, using PHPMailer, which is not included.

> [@Send emails using PHPMailer](https://forum.getkirby.com/t/send-emails-using-phpmailer/2570):
>
> As I have to send some emails with PDF attachments I thought about writing a mail service that uses PHPMailer ([https://github.com/PHPMailer/PHPMailer](https://github.com/PHPMailer/PHPMailer)) to make my life easier… The opposite happened… This is what I’ve got so far: // site/plugins/kirby-phpmailer/service.php \<?php email::$services['phpmailer'] = function($email) { require\_once(\_\_DIR\_\_ . DS . 'class.phpmailer.php'); $mail = new PHPMailer; $mail-\>setFrom($email-\>from); $mail-\>addReplyTo($email-\>replyTo); $mail-\>addAddress($em…

---

<div class="post-metadata">

**Author:** ![thewebprojects](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/thewebprojects/32/10107_2.png) [@thewebprojects](https://forum.getkirby.com/u/thewebprojects)\
**Post date:** [March 1, 2019, 1:50pm UTC](https://forum.getkirby.com/t/kirby-v2-smtp/13139/3 "2019-03-01T13:50:58Z")

</div>

Gotcha, so it’s not baked-in v2. Thanks.

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:23pm UTC](https://forum.getkirby.com/t/kirby-v2-smtp/13139/4 "2025-02-06T17:23:21Z")

</div>

Archived on February 6, 2025, 5:23pm UTC


