NEW: Learn to build the incredible iOS 15 Weather app today! >>

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 Essential Developer

SPONSORED Only until this Sunday, December 12th, you can join a free crash course to learn advanced techniques for testing new and legacy Swift code — it's the fast track to becoming a complete Senior iOS Developer!

Click to learn more

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.