WWDC22 SALE: Save 50% on all my Swift books and bundles! >>

Support to send SMTP

Forums > Server-side Swift

I'm working on some server side swift CLI applications. These are 100% CLI, so I'm not using a framework like Vapor.

I have some analytics logic that runs fine, but I need to send that off via SMTP. I tried to implement the Swift-SMTP solution (Kitura). If I use their example code, I don't get anything arriving at the end user. I know it is communicating with the mail server (Sendgrid), as changing the password in the logic will require the error logic to kick instating that autentication failed. Aside from that, it runs and nothing arrives.

Anyone have any alternative SMTP solutions? I don't need file attaachments - just pure text based email support.



Hacking with Swift is sponsored by RevenueCat

SPONSORED In-app subscriptions are a pain. The code can be hard to write, hard to test, and full of edge cases. RevenueCat makes it straightforward and reliable so you can get back to building your app.

Explore the docs

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.